diff options
author | Jackie Liu <liuyun01@kylinos.cn> | 2021-09-01 20:35:57 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-17 09:48:41 +0100 |
commit | 6694960195b71271c6af21fa3e92f822355f5c90 (patch) | |
tree | 185441caea27c9faba20476abb44f9a488b5f849 /arch/arm64/boot/dts/rockchip/rk3328.dtsi | |
parent | d27580c1b0270829afad5f7275d04e1982c45dfc (diff) |
ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
[ Upstream commit 2aa717473ce96c93ae43a5dc8c23cedc8ce7dd9f ]
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.
Fixes: 1f629b7a3ced ("ARM: S3C24XX: transform irq handling into a declarative form")
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Link: https://lore.kernel.org/r/20210901123557.1043953-1-liu.yun@linux.dev
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3328.dtsi')
0 files changed, 0 insertions, 0 deletions