diff options
| author | Fuad Tabba <fuad.tabba@linux.dev> | 2026-09-08 15:26:30 +0100 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-10-15 11:50:47 +0200 |
| commit | 0773b76611e9c596c825076d422d372697da9940 (patch) | |
| tree | a9519b5e2d8ca9c1494cd53079c879a1c7bc857c /scripts/Makefile.thinlto | |
| parent | 0c65a1331928d0207c385f03fb5eba0cfecce0e6 (diff) | |
| download | linux-0773b76611e9c596c825076d422d372697da9940.tar.gz linux-0773b76611e9c596c825076d422d372697da9940.zip | |
irqchip/gic-v3: Release the partition node in gic_irq_get_fwspec_info()
gic_irq_get_fwspec_info() never puts the node it takes from
of_find_node_by_phandle(), so every lookup from a four-cell PPI or EPPI
specifier naming a partition leaks one.
The node is only used for the comparison against gic_data.parts[], and
the mask returned points into gic_data, so it can go out of scope with
the lookup.
Fixes: 68905ea65ceff ("irqchip/gic-v3: Add FW info retrieval support")
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
Reviewed-by: Radu Rendec <radu@rendec.net>
Link: https://patch.msgid.link/20260908142632.2795308-2-fuad.tabba@linux.dev
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
