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:57:58 +0100 |
commit | 93c3898ee8dff7178f1f5cd7c30e9b9173bef610 (patch) | |
tree | cf6d8811d2121c1d7c7f2ce93617220b987f7de6 /arch/arm64/boot/dts/freescale/imx8mq.dtsi | |
parent | c072b76699a4cff5ce453a023cad102704b5cc4d (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 'arch/arm64/boot/dts/freescale/imx8mq.dtsi')
0 files changed, 0 insertions, 0 deletions