netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Machata <petrm@nvidia.com>
To: Miaoqian Lin <linmq006@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Menglong Dong <imagedong@tencent.com>,
	Kuniyuki Iwashima <kuniyu@amazon.com>,
	Petr Machata <petrm@nvidia.com>, Jiri Pirko <jiri@nvidia.com>,
	<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] net: Fix documentation for unregister_netdevice_notifier_net
Date: Thu, 15 Dec 2022 12:20:59 +0100	[thread overview]
Message-ID: <87h6xwap3t.fsf@nvidia.com> (raw)
In-Reply-To: <20221215071551.421451-1-linmq006@gmail.com>


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

      reply	other threads:[~2022-12-15 11:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-15  7:15 [PATCH] net: Fix documentation for unregister_netdevice_notifier_net Miaoqian Lin
2022-12-15 11:20 ` Petr Machata [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h6xwap3t.fsf@nvidia.com \
    --to=petrm@nvidia.com \
    --cc=bigeasy@linutronix.de \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=imagedong@tencent.com \
    --cc=jiri@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=kuniyu@amazon.com \
    --cc=linmq006@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).