summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2025-02-09 20:58:59 +0800
committerRob Herring (Arm) <robh@kernel.org>2025-02-25 07:16:50 -0600
commit962a2805e47b933876ba0e4c488d9e89ced2dd29 (patch)
tree562d3ba44067344143e2e3765b8c940dd31a9ed6 /tools/perf/scripts/python/task-analyzer.py
parentbbf71f44aaf241d853759a71de7e7ebcdb89be3d (diff)
of/irq: Fix device node refcount leakage in API irq_of_parse_and_map()
In irq_of_parse_and_map(), refcount of device node @oirq.np was got by successful of_irq_parse_one() invocation, but it does not put the refcount before return, so causes @oirq.np refcount leakage. Fix by putting @oirq.np refcount before return. Fixes: e3873444990d ("of/irq: Move irq_of_parse_and_map() to common code") Cc: stable@vger.kernel.org Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com> Link: https://lore.kernel.org/r/20250209-of_irq_fix-v2-6-93e3a2659aa7@quicinc.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions