Re: [PATCH] irqchip: Fix refcount leak in platform_irqchip_probe

From: Marc Zyngier
Date: Mon Jan 02 2023 - 07:20:09 EST


On 2023-01-02 12:13, Miaoqian Lin wrote:
of_irq_find_parent() returns a node pointer with refcount incremented,
We should use of_node_put() on it when not needed anymore.
Add missing of_node_put() to avoid refcount leak.

Fixes: f8410e626569 ("irqchip: Add IRQCHIP_PLATFORM_DRIVER_BEGIN/END
and IRQCHIP_MATCH helper macros")
Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>

Please stop sending these patches one by one.

Send a series covering the whole of the irqchip subsystem, once
you have looked at all the drivers.

Thanks,

M.
--
Jazz is not dead. It just smells funny...