summaryrefslogtreecommitdiff
path: root/include/uapi/linux/misc
diff options
context:
space:
mode:
authorYuho Choi <dbgh9129@gmail.com>2026-05-24 23:38:46 -0400
committerAndrew Jeffery <andrew@codeconstruct.com.au>2026-07-22 23:11:56 +0930
commit8eb052f48331474c2789d07b7f11165c323bd2f9 (patch)
tree0572ede7a0d39a8e95868e41b4035ad257615468 /include/uapi/linux/misc
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
ARM: npcm: Fix OF node refcount leaks in SMP setup
npcm7xx_smp_boot_secondary() and npcm7xx_smp_prepare_cpus() look up the GCR and SCU nodes with of_find_compatible_node(). The returned nodes are used for of_iomap(), but the node references are never released. of_iomap() does not consume the device node reference, and iounmap() only releases the MMIO mapping. Drop each node reference after the corresponding mapping attempt. Fixes: 7bffa14c9aed ("arm: npcm: add basic support for Nuvoton BMCs") Signed-off-by: Yuho Choi <dbgh9129@gmail.com> Reviewed-by: Avi Fishman <avifishman70@gmail.com> Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Diffstat (limited to 'include/uapi/linux/misc')
0 files changed, 0 insertions, 0 deletions