diff options
| author | Yuho Choi <dbgh9129@gmail.com> | 2026-06-28 18:07:23 -0400 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-06-30 18:49:48 +0200 |
| commit | 2e1368a9d61bdf5502ddade004f223a5831c5b8c (patch) | |
| tree | f8ee32fc75e7d81cd3cbf019f2c8cd0e1cdc1142 /scripts/Makefile.thinlto | |
| parent | 1358126fbed104e5657955d3ba029b283687ba02 (diff) | |
| download | linux-2e1368a9d61bdf5502ddade004f223a5831c5b8c.tar.gz linux-2e1368a9d61bdf5502ddade004f223a5831c5b8c.zip | |
irqchip/gic-v3-its: Fix OF node reference leak
of_get_cpu_node() returns a referenced device node. In
its_cpu_init_collection(), the Cavium 23144 workaround only uses the
node to compare the CPU NUMA node, but the reference is never dropped.
Use the device_node cleanup helper for the CPU node reference so it is
released when leaving the workaround block, including the NUMA mismatch
return path.
Fixes: fbf8f40e1658 ("irqchip/gicv3-its: numa: Enable workaround for Cavium thunderx erratum 23144")
Signed-off-by: Yuho Choi <dbgh9129@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
Acked-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
