[PATCH] net: sparx5: Add of_node_put() before goto

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Mon Oct 18 05:50:07 PDT 2021


Hello:

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

On Sun, 17 Oct 2021 21:31:30 -0400 you wrote:
> Fix following coccicheck warning:
> ./drivers/net/ethernet/microchip/sparx5/s4parx5_main.c:723:1-33: WARNING: Function
> for_each_available_child_of_node should have of_node_put() before goto
> 
> Early exits from for_each_available_child_of_node should decrement the
> node reference counter.
> 
> [...]

Here is the summary with links:
  - net: sparx5: Add of_node_put() before goto
    https://git.kernel.org/netdev/net/c/d9fd7e9fccfa

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