irqchip/mips-gic: Check the return value of ioremap() in gic_of_init()
authorWilliam Dean <williamsukatube@163.com>
Sat, 23 Jul 2022 10:01:28 +0000 (18:01 +0800)
committerMarc Zyngier <maz@kernel.org>
Sun, 24 Jul 2022 09:54:44 +0000 (10:54 +0100)
commit71349cc85e5930dce78ed87084dee098eba24b59
tree21e35fc3bc82816180fe9813dd342140a6e752ba
parentc904cda04482d5ab545e5a82cee6084078ef9543
irqchip/mips-gic: Check the return value of ioremap() in gic_of_init()

The function ioremap() in gic_of_init() can fail, so
its return value should be checked.

Reported-by: Hacash Robot <hacashRobot@santino.com>
Signed-off-by: William Dean <williamsukatube@163.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220723100128.2964304-1-williamsukatube@163.com
drivers/irqchip/irq-mips-gic.c