GIC-v2 driver gets base address from irq_data in gic_poke_irq. Passing current irq_data to irq_set_irqchip_state can result in NULL pointer dereference. This issue is not seen on GIC-v3 driver since base address is calculated from global variable. Correctly pass parent_data as argument to irq_set_irqchip_state and irq_get_irqchip_state. Change-Id: Ie63561e002b0e0c1cb2404a20fa3d7151cf0b48a Signed-off-by: Maulik Shah <mkshah@codeaurora.org>tirimbino
parent
4b9434e4c1
commit
139aa9844d
Loading…
Reference in new issue