[PATCH] soc: fsl: qe: qe_ports_ic: Consolidate chained IRQ handler install/remove
Christophe Leroy (CS GROUP)
chleroy at kernel.org
Wed Jan 28 22:01:31 AEDT 2026
On Mon, 19 Jan 2026 13:57:15 +0800, Chen Ni wrote:
> The driver currently sets the handler data and the chained handler in
> two separate steps. This creates a theoretical race window where an
> interrupt could fire after the handler is set but before the data is
> assigned, leading to a NULL pointer dereference.
>
> Replace the two calls with irq_set_chained_handler_and_data() to set
> both the handler and its data atomically under the irq_desc->lock.
>
> [...]
Applied, thanks!
[1/1] soc: fsl: qe: qe_ports_ic: Consolidate chained IRQ handler install/remove
Best regards,
--
Christophe Leroy (CS GROUP) <chleroy at kernel.org>
More information about the Linuxppc-dev
mailing list