[PATCH] net: sun4i-emac: fix missing of_node_put() for phy_node
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Thu Sep 10 03:30:03 PDT 2026
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni at redhat.com>:
On Fri, 4 Sep 2026 16:07:58 +0800 you wrote:
> From: Li Youhong <liyouhong at kylinos.cn>
>
> of_parse_phandle() returns a node pointer with an elevated refcount.
> Add the missing of_node_put() on the probe error path after
> register_netdev() fails and in emac_remove().
>
> Fixes: 492205050d77 ("net: Add EMAC ethernet driver found on Allwinner A10 SoC's")
> Signed-off-by: Li Youhong <liyouhong at kylinos.cn>
>
> [...]
Here is the summary with links:
- net: sun4i-emac: fix missing of_node_put() for phy_node
https://git.kernel.org/netdev/net/c/af406abfecad
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list