[PATCH] net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Fri Apr 29 18:50:11 PDT 2022
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba at kernel.org>:
On Thu, 28 Apr 2022 14:25:43 +0800 you wrote:
> The node pointer returned by of_parse_phandle() with refcount incremented,
> so add of_node_put() after using it in mtk_sgmii_init().
>
> Fixes: 9ffee4a8276c ("net: ethernet: mediatek: Extend SGMII related functions")
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>
> ---
> drivers/net/ethernet/mediatek/mtk_sgmii.c | 1 +
> 1 file changed, 1 insertion(+)
Here is the summary with links:
- net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init()
https://git.kernel.org/netdev/net/c/ff5265d45345
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-mediatek
mailing list