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

Sudeep Holla sudeep.holla at kernel.org
Mon Nov 30 07:56:38 PST 2026


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




More information about the linux-arm-kernel mailing list