All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: Fix documentation for unregister_netdevice_notifier_net
@ 2022-12-15  7:15 Miaoqian Lin
  2022-12-15 11:20 ` Petr Machata
  0 siblings, 1 reply; 2+ messages in thread
From: Miaoqian Lin @ 2022-12-15  7:15 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Sebastian Andrzej Siewior, Menglong Dong, Kuniyuki Iwashima,
	Petr Machata, Jiri Pirko, netdev, linux-kernel
  Cc: linmq006

unregister_netdevice_notifier_net() is used for unregister a notifier
registered by register_netdevice_notifier_net().

Fixes: a30c7b429f2d ("net: introduce per-netns netdevice notifiers")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
---
 net/core/dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/dev.c b/net/core/dev.c
index b76fb37b381e..85c6c095a1b6 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -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 into the
  * kernel structures and may then be reused. A negative errno code
  * is returned on a failure.
  *
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: Fix documentation for unregister_netdevice_notifier_net
  2022-12-15  7:15 [PATCH] net: Fix documentation for unregister_netdevice_notifier_net Miaoqian Lin
@ 2022-12-15 11:20 ` Petr Machata
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Machata @ 2022-12-15 11:20 UTC (permalink / raw)
  To: Miaoqian Lin
  Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Sebastian Andrzej Siewior, Menglong Dong, Kuniyuki Iwashima,
	Petr Machata, Jiri Pirko, netdev, linux-kernel


Miaoqian Lin <linmq006@gmail.com> writes:

> unregister_netdevice_notifier_net() is used for unregister a notifier
> registered by register_netdevice_notifier_net().
>
> Fixes: a30c7b429f2d ("net: introduce per-netns netdevice notifiers")
> Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
> ---
>  net/core/dev.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/core/dev.c b/net/core/dev.c
> index b76fb37b381e..85c6c095a1b6 100644
> --- a/net/core/dev.c
> +++ b/net/core/dev.c
> @@ -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 into the

Since you are touching the line anyway, please also s/into/from/.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-15 11:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15  7:15 [PATCH] net: Fix documentation for unregister_netdevice_notifier_net Miaoqian Lin
2022-12-15 11:20 ` Petr Machata

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.