Re: [PATCH] net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr

From: patchwork-bot+netdevbpf
Date: Wed Mar 09 2022 - 07:20:20 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Tue, 8 Mar 2022 07:42:47 +0000 you wrote:
> This node pointer is returned by of_find_compatible_node() with
> refcount incremented. Calling of_node_put() to aovid the refcount leak.
>
> Fixes: 501ef3066c89 ("net: marvell: prestera: Add driver for Prestera family ASIC devices")
> Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
> ---
> drivers/net/ethernet/marvell/prestera/prestera_main.c | 1 +
> 1 file changed, 1 insertion(+)

Here is the summary with links:
- net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr
https://git.kernel.org/netdev/net/c/c9ffa3e2bc45

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