Re: [PATCH] of/irq: Fix remaining refcount leaks in of_irq_init()
From: Rob Herring (Arm)
Date: Wed Sep 30 2026 - 17:09:25 EST
On Thu, 17 Sep 2026 12:42:47 +0000, Wentao Liang wrote:
> Successfully initialized controllers are moved to intc_parent_list,
> but the final cleanup only frees the descriptors. The device node
> references taken with of_node_get() and the interrupt parent
> references are therefore leaked on the normal return path. Drop both
> before kfree(), as the intc_desc_list cleanup already does.
>
> Fixes: 8363ccb917c6 ("of/irq: add missing of_node_put")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Wentao Liang <vulab@xxxxxxxxxxx>
> ---
> drivers/of/irq.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Applied, thanks!