[PATCH] irqchip: Convert chained handlers to guard_chained_irq()

Herve Codina herve.codina at bootlin.com
Tue Nov 17 23:42:46 PST 2026


Hi Peng,

On Sat, 14 Nov 2026 23:06:15 +0800
Peng Fan <peng.fan at linux.dev> wrote:

> From: Peng Fan <peng.fan at nxp.com>
> 
> Use the scope-based guard_chained_irq() helper in all chained handlers
> under drivers/irqchip/ so that chained_irq_exit() is always invoked when
> the handler returns. Handlers that duplicated the exit call on an error
> path or jumped to a common exit label simply return now and rely on the
> guard.
> 
> No functional changes.
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---

For the irq-lan966x-oic driver:

Reviewed-by: Herve Codina <herve.codina at bootlin.com> # irq-lan966x-oic.c

Best regards,
Hervé



More information about the linux-riscv mailing list