Re: [PATCH] memory: fsl-corenet-cf: Fix handling of platform_get_irq() error

From: Krzysztof Kozlowski
Date: Wed Sep 02 2020 - 11:34:14 EST


On Thu, Aug 27, 2020 at 09:33:15AM +0200, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxx>
> ---
> drivers/memory/fsl-corenet-cf.c | 6 ++----

Applied.

Best regards,
Krzysztof