Re: [PATCH -next] tsnep: Add missing of_node_put() in tsnep_mdio_init()

From: patchwork-bot+netdevbpf
Date: Thu Nov 25 2021 - 22:32:20 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Wed, 24 Nov 2021 16:40:48 +0800 you wrote:
> The node pointer is returned by of_get_child_by_name() with
> refcount incremented in tsnep_mdio_init(). Calling of_node_put()
> to aovid the refcount leak in tsnep_mdio_init().
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [-next] tsnep: Add missing of_node_put() in tsnep_mdio_init()
https://git.kernel.org/netdev/net-next/c/739752d655b3

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html