[PATCH v2] ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
Krzysztof Kozlowski
krzysztof.kozlowski at canonical.com
Wed Sep 15 00:50:59 PDT 2021
On Wed, 1 Sep 2021 20:35:57 +0800, Jackie Liu wrote:
> From: Jackie Liu <liuyun01 at kylinos.cn>
>
> The s3c24xx_init_intc() returns an error pointer upon failure, not NULL.
> let's add an error pointer check in s3c24xx_handle_irq.
>
> s3c_intc[0] is not NULL or ERR, we can simplify the code.
>
> [...]
Applied, thanks!
[1/1] ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
commit: 2aa717473ce96c93ae43a5dc8c23cedc8ce7dd9f
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
More information about the linux-arm-kernel
mailing list