diff options
| author | 2023-01-02 16:13:18 +0400 | |
|---|---|---|
| committer | 2023-02-05 11:07:52 +0000 | |
| commit | 6caa5a2b78f5f53c433d3a3781e53325da22f0ac (patch) | |
| tree | 22fb21a62f0f2544715e8c16cae7c17f8a8876e0 /include/uapi/linux/byteorder/ssh:/git:/git.zx2c4.com | |
| parent | Linux 6.2-rc4 (diff) | |
irqchip: Fix refcount leak in platform_irqchip_probe
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@gmail.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230102121318.3990586-1-linmq006@gmail.com
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
