Skip to contentSkip to conversation

net: Fix documentation for unregister_netdevice_notifier_net

PATCH Applied Miaoqian Lin 2 participants 2 messages Dec 18, 2022 – Dec 19, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 net: Fix documentation for unregister_netdevice_notifier_net

unregister_netdevice_notifier_net() is used for unregister a notifier registered by register_netdevice_notifier_net(). Also s/into/from/.

---
changes in v2:
- s/into/from/ as pointed out by Petr Machata.
changes in v3:
- remove fixes tag as pointed out by Jiri Pirko.

---
 net/core/dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/dev.c +1 -1
index b76fb37b381e..cf78f35bc0b9 100644
@@ -1840,7 +1840,7 @@ EXPORT_SYMBOL(register_netdevice_notifier_net);
  * @nb: notifier
  *
  * Unregister a notifier previously registered by
- * register_netdevice_notifier(). The notifier is unlinked into the
+ * register_netdevice_notifier_net(). The notifier is unlinked from the
  * kernel structures and may then be reused. A negative errno code
  * is returned on a failure.
  *
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Quoted 11 lines · On Sun, 18 Dec 2022 17:09:54 +0400 you wrote:

unregister_netdevice_notifier_net() is used for unregister a notifier registered by register_netdevice_notifier_net(). Also s/into/from/.

---
changes in v2:
- s/into/from/ as pointed out by Petr Machata.
changes in v3:
- remove fixes tag as pointed out by Jiri Pirko.

[...]

Here is the summary with links:
- [net-next,v3] net: Fix documentation for unregister_netdevice_notifier_net

    https://git.kernel.org/netdev/net-next/c/9054b41c4e1b

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html