Re: [PATCH] ARM: vexpress: Fix device_node reference leak in tc2_pm_init()

From: Sudeep Holla

Date: Mon Nov 30 2026 - 10:56:56 EST


On Tue, 24 Nov 2026 15:37:35 +0000, Yuho Choi wrote:
> tc2_pm_init() looks up the SCC node with of_find_compatible_node(),
> which returns the node with its reference count raised, and passes it
> to of_iomap() and irq_of_parse_and_map(). Neither of them keeps the
> node, and none of the function's exits drops the reference.
> tc2_pm_init() runs once as an early initcall, so this leaks a single
> reference at boot.
>
> [...]

Applied to sudeep.holla/linux (for-next/vexpress/updates), thanks!

[1/1] ARM: vexpress: Fix device_node reference leak in tc2_pm_init()
https://git.kernel.org/sudeep.holla/c/0cf1a28963b5
--
Regards,
Sudeep