Thread (8 messages) 8 messages, 4 authors, 2024-01-03

Re: [PATCH net-next] net: mdio: get/put device node during (un)registration

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-01-01 13:10:24
Also in: lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller [off-list ref]:

On Wed, 20 Dec 2023 01:52:29 -0300 you wrote:
The __of_mdiobus_register() function was storing the device node in
dev.of_node without increasing its reference count. It implicitly relied
on the caller to maintain the allocated node until the mdiobus was
unregistered.

Now, __of_mdiobus_register() will acquire the node before assigning it,
and of_mdiobus_unregister_callback() will be called at the end of
mdio_unregister().

[...]
Here is the summary with links:
  - [net-next] net: mdio: get/put device node during (un)registration
    https://git.kernel.org/netdev/net-next/c/cff9c565e65f

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