Re: [PATCH] ARM: omap2: Fix reference count leaks in omap_control_init()
From: Kevin Hilman
Date: Mon Jan 05 2026 - 15:18:07 EST
On Wed, 17 Dec 2025 14:21:22 +0000, Wentao Liang wrote:
> The of_get_child_by_name() function increments the reference count
> of child nodes, causing multiple reference leaks in omap_control_init():
>
> 1. scm_conf node never released in normal/error paths
> 2. clocks node leak when checking existence
> 3. Missing scm_conf release before np in error paths
>
> [...]
Applied, thanks!
[1/1] ARM: omap2: Fix reference count leaks in omap_control_init()
commit: 93a04ab480c8bbcb7d9004be139c538c8a0c1bc8
Best regards,
--
Kevin Hilman <khilman@xxxxxxxxxxxx>