Re: [PATCH] net: dsa: Add missing of_node_put() in dsa_port_parse_of

From: patchwork-bot+netdevbpf
Date: Thu Mar 17 2022 - 08:40:17 EST


Hello:

This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Wed, 16 Mar 2022 08:26:02 +0000 you wrote:
> The device_node pointer is returned by of_parse_phandle() with refcount
> incremented. We should use of_node_put() on it when done.
>
> Fixes: 6d4e5c570c2d ("net: dsa: get port type at parse time")
> Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
> ---
> net/dsa/dsa2.c | 1 +
> 1 file changed, 1 insertion(+)

Here is the summary with links:
- net: dsa: Add missing of_node_put() in dsa_port_parse_of
https://git.kernel.org/netdev/net/c/cb0b430b4e3a

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