Re: [PATCH] net: dsa: Add missing of_node_put() in dsa_port_link_register_of
From: patchwork-bot+netdevbpf
Date: Fri Apr 22 2022 - 08:10:29 EST
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:
On Wed, 20 Apr 2022 19:04:08 +0800 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.
> of_node_put() will check for NULL value.
>
> Fixes: a20f997010c4 ("net: dsa: Don't instantiate phylink for CPU/DSA ports unless needed")
> Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
>
> [...]
Here is the summary with links:
- net: dsa: Add missing of_node_put() in dsa_port_link_register_of
https://git.kernel.org/netdev/net/c/fc06b2867f4c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html