diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2023-01-02 11:42:08 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-02-05 14:11:24 +0300 |
commit | 9419e700021a393f67be36abd0c4f3acc6139041 (patch) | |
tree | 18880cc1eafda384151234099777780a815a253e /block/opal_proto.h | |
parent | 071d068b89e95d1b078aa6bbcb9d0961b77d6aa1 (diff) | |
download | linux-9419e700021a393f67be36abd0c4f3acc6139041.tar.xz |
irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_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: a68a63cb4dfc ("irqchip/irq-mvebu-gicp: Add new driver for Marvell GICP")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230102084208.3951758-1-linmq006@gmail.com
Diffstat (limited to 'block/opal_proto.h')
0 files changed, 0 insertions, 0 deletions