[PATCH] ARM: omap2: Fix reference count leaks in omap_control_init()
Kevin Hilman
khilman at baylibre.com
Mon Jan 5 12:15:59 PST 2026
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 at baylibre.com>
More information about the linux-arm-kernel
mailing list