diff options
author | Yang Yingliang <[email protected]> | 2022-03-16 10:51:00 +0800 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-04-05 16:33:13 +0100 |
commit | 76ff614a79152cee07a2c48080c3dc91c56f0f1d (patch) | |
tree | 2e997b0b2cb48fcf1051f2476945443366e817cf /lib/mpi/mpiutil.c | |
parent | fa4dcc880390fbedf4118e9f88a6b13363e0a7a1 (diff) |
irqchip/irq-qcom-mpm: fix return value check in qcom_mpm_init()
If devm_platform_ioremap_resource() fails, it never returns
NULL, replace NULL check with IS_ERR().
Fixes: a6199bb514d8 ("irqchip: Add Qualcomm MPM controller driver")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions