Skip to content
Commit dd85345a authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski
Browse files

memory: fsl-corenet-cf: Fix handling of platform_get_irq() error



platform_get_irq() returns -ERRNO on error.  In such case comparison
to 0 would pass the check.

Fixes: 54afbec0 ("memory: Freescale CoreNet Coherency Fabric error reporting driver")
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200827073315.29351-1-krzk@kernel.org
parent 6cf238d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment