net: Fix documentation for unregister_netdevice_notifier_net
Subsystems (2)
PATCH v2 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/.
Fixes a30c7b429f2d ("net: introduce per-netns netdevice notifiers")
Signed-off-by Miaoqian Lin <[email protected]>
---
changes in v2:
- s/into/from/ as pointed out by Petr Machata.
--- net/core/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/dev.c +1 -1
@@ -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
Quoted 4 lines · Fri, Dec 16, 2022 at 10:48:35AM CET, [email protected] wrote:
unregister_netdevice_notifier_net()is used for unregister a notifier registered byregister_netdevice_notifier_net(). Also s/into/from/.Fixes a30c7b429f2d ("net: introduce per-netns netdevice notifiers")
Hmm, I believe that comment fixes should not contain the fixes tag not to confuse anyone (bot) as this is not fixing a bug. This is net-next tree material, please mark it as such in the patch subject line:
[PATCH net-next v2] ...
Reviewed-by Jiri Pirko <[email protected]>