Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit df374693 authored by Maulik Shah's avatar Maulik Shah
Browse files

irqchip: qcom: pdc: Correct irq_data argument for irq_set_irqchip_state



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: default avatarMaulik Shah <mkshah@codeaurora.org>
parent d8136467
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment