Re: [PATCH] ARM: OMAP2+: Fix a reference leak bug in omap_hwmod_fix_mpu_rt_idx()
Kevin Hilman <[email protected]> Mon, 29 Jun 2026 13:19:34 -0700
| Newsgroups | org.kernel.vger.linux-omap,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <178276437440.1055800.18333324347324908320.b4-ty@b4> |
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) <[email protected]>