Re: [PATCH] ARM: OMAP2+: Fix a reference leak bug in omap_hwmod_fix_mpu_rt_idx()
From: Kevin Hilman
Date: Mon Jun 29 2026 - 16:21:37 EST
On Tue, 23 Jun 2026 15:25:34 +0800, Haoxiang Li wrote:
> omap_hwmod_fix_mpu_rt_idx() gets the first child node with
> of_get_next_child(), which returns a node with its reference count
> incremented. The function uses the child node to translate the MPU
> runtime register resource, but never drops the reference afterwards.
>
> Add the missing of_node_put() after of_address_to_resource().
>
> [...]
Applied, thanks!
[1/1] ARM: OMAP2+: Fix a reference leak bug in omap_hwmod_fix_mpu_rt_idx()
(no commit info)
Best regards,
--
Kevin Hilman (TI) <khilman@xxxxxxxxxxxx>