diff options
author | Yang Yingliang <[email protected]> | 2021-10-25 13:00:55 +0800 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-10-25 09:02:18 +0100 |
commit | 68a6e0c63c76128d403e8ca016c0bcb732ff1b05 (patch) | |
tree | ffa616237ded10e19da33c9f3349e89907c2bc89 /net/lapb/lapb_timer.c | |
parent | 00fa3461c86dd289b441d4d5a6bb236064bd207b (diff) |
irqchip/mchp-eic: Fix return value check in mchp_eic_init()
In case of error, the function of_iomap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions