diff options
| author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-27 09:33:15 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-29 09:03:07 +0100 |
| commit | 0137bb476d4a4f811e3c84d8dbbefc12d90196b9 (patch) | |
| tree | 2f4c58ecaa67ab0e988e74c681db0e90c13236f4 /tools/perf/scripts/python | |
| parent | 4b2c1ec1c92cbd0cbeb4d9c98db1eb110a10e65a (diff) | |
memory: fsl-corenet-cf: Fix handling of platform_get_irq() error
[ Upstream commit dd85345abca60a8916617e8d75c0f9ce334336dd ]
platform_get_irq() returns -ERRNO on error. In such case comparison
to 0 would pass the check.
Fixes: 54afbec0d57f ("memory: Freescale CoreNet Coherency Fabric error reporting driver")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200827073315.29351-1-krzk@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
