aboutsummaryrefslogtreecommitdiff
path: root/include/linux/compiler_attributes.h
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2023-01-02 16:13:18 +0400
committerMarc Zyngier <maz@kernel.org>2023-02-05 11:07:52 +0000
commit6caa5a2b78f5f53c433d3a3781e53325da22f0ac (patch)
tree22fb21a62f0f2544715e8c16cae7c17f8a8876e0 /include/linux/compiler_attributes.h
parent5dc4c995db9eb45f6373a956eb1f69460e69e6d4 (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/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions