Re: [PATCH] soc: fsl: qe: qe_ports_ic: Consolidate chained IRQ handler install/remove
From: Christophe Leroy (CS GROUP)
Date: Wed Jan 28 2026 - 06:04:36 EST
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@xxxxxxxxxx>