diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2023-01-02 11:56:10 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-02-05 14:11:24 +0300 |
commit | 02298b7bae12936ca313975b02e7f98b06670d37 (patch) | |
tree | 25b8b9f1cfb96a65c359f1f7f10791c9467c4d20 /block/blk-rq-qos.h | |
parent | 9419e700021a393f67be36abd0c4f3acc6139041 (diff) | |
download | linux-02298b7bae12936ca313975b02e7f98b06670d37.tar.xz |
irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_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: cd844b0715ce ("irqchip/ti-sci-intr: Add support for Interrupt Router driver")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230102085611.3955984-1-linmq006@gmail.com
Diffstat (limited to 'block/blk-rq-qos.h')
0 files changed, 0 insertions, 0 deletions