diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2023-01-02 11:28:10 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-02-05 14:11:24 +0300 |
commit | 071d068b89e95d1b078aa6bbcb9d0961b77d6aa1 (patch) | |
tree | c55b3495ed7a1802bb935525860020f9f25072b0 /block/opal_proto.h | |
parent | 6caa5a2b78f5f53c433d3a3781e53325da22f0ac (diff) | |
download | linux-071d068b89e95d1b078aa6bbcb9d0961b77d6aa1.tar.xz |
irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domains
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: e6b78f2c3e14 ("irqchip: Add the Alpine MSIX interrupt controller")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230102082811.3947760-1-linmq006@gmail.com
Diffstat (limited to 'block/opal_proto.h')
0 files changed, 0 insertions, 0 deletions