diff options
| author | Yuho Choi <dbgh9129@gmail.com> | 2026-07-03 11:50:22 -0400 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2026-07-31 17:34:34 +0200 |
| commit | 7acac0cabaac6967e1f987bfedd4418204c813a7 (patch) | |
| tree | 85dc7255c2188b320232c803608305129f0593ad /tools/perf/scripts/python/task-analyzer.py | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
ARM: tegra: Fix OF node reference leaks in IRQ init
tegra114_gic_cpu_pm_registration() and tegra_init_irq() use
of_find_matching_node() for temporary IRQ init lookups, but the helper
returns a referenced node even when the result is used only as a boolean
or as an of_iomap() input.
Use scoped device_node cleanup for both lookups so the references are
dropped when the functions return.
Fixes: 7e8b15dbc392 ("ARM: tegra114: Reprogram GIC CPU interface to bypass IRQ on CPU PM entry")
Fixes: e9479e0e832b ("ARM: tegra: skip gic_arch_extn setup if DT has a LIC node")
Signed-off-by: Yuho Choi <dbgh9129@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
