Thread (5 messages) flat view 5 messages, 2 authors, 2021-05-10

Re: [PATCH net-next v1 1/4] net: mvpp2: Put fwnode in error case during ->probe()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-05-10 22:20:51
Also in: lkml

Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Mon, 10 May 2021 12:58:05 +0300 you wrote:
In each iteration fwnode_for_each_available_child_node() bumps a reference
counting of a loop variable followed by dropping in on a next iteration,

Since in error case the loop is broken, we have to drop a reference count
by ourselves. Do it for port_fwnode in error case during ->probe().

Fixes: 248122212f68 ("net: mvpp2: use device_*/fwnode_* APIs instead of of_*")
Cc: Marcin Wojtas <redacted>
Signed-off-by: Andy Shevchenko <redacted>

[...]
Here is the summary with links:
  - [net-next,v1,1/4] net: mvpp2: Put fwnode in error case during ->probe()
    https://git.kernel.org/netdev/net-next/c/71f0891c84df
  - [net-next,v1,2/4] net: mvpp2: Use device_get_match_data() helper
    https://git.kernel.org/netdev/net-next/c/692b82c57f71
  - [net-next,v1,3/4] net: mvpp2: Use devm_clk_get_optional()
    https://git.kernel.org/netdev/net-next/c/cf3399b731d3
  - [net-next,v1,4/4] net: mvpp2: Unshadow error code of device_property_read_u32()
    https://git.kernel.org/netdev/net-next/c/584525554fd6

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help