Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
memory: fsl-corenet-cf: Fix handling of platform_get_irq() error
[ Upstream commit dd85345 ] platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: 54afbec ("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>
- Loading branch information