lkml.org 
[lkml]   [2022]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] net: Fix documentation for unregister_netdevice_notifier_net
Date

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/.

\
 
 \ /
  Last update: 2022-12-15 12:23    [W:0.049 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site