]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
irqchip/mvebu-gicp: Fix an IS_ERR() vs NULL check in probe()
authorDan Carpenter <dan.carpenter@linaro.org>
Tue, 19 Aug 2025 09:40:02 +0000 (12:40 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 24 Aug 2025 10:00:47 +0000 (12:00 +0200)
commitc8bb0f00a4886b24d933ffaabcdc09bf9a370dca
treefcb8b4fc06f69934a715754d0b4a4a565764972b
parentc2bac68067bba5edda09112c09f2f670792dcdc8
irqchip/mvebu-gicp: Fix an IS_ERR() vs NULL check in probe()

ioremap() never returns error pointers, it returns NULL on error.  Fix the
check to match.

Fixes: 3c3d7dbab2c7 ("irqchip/mvebu-gicp: Clear pending interrupts on init")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/aKRGcgMeaXm2TMIC@stanley.mountain
drivers/irqchip/irq-mvebu-gicp.c