Netdev List
 help / color / mirror / Atom feed
From: sunlianwen <sunlw.fnst@cn.fujitsu.com>
To: <netdev@vger.kernel.org>
Subject: [PATCH] net: change the comment of dev_mc_init
Date: Tue, 17 Apr 2018 15:27:01 +0800	[thread overview]
Message-ID: <e893355c-0a4c-8db5-c812-68e8edd2ded4@cn.fujitsu.com> (raw)

the comment of dev_mc_init() is wrong. which use dev_mc_flush
instead of dev_mc_init.


Signed-off-by:Lianwen Sun <sunlw.fnst@cn.fujitsu.com>
---
  net/core/dev_addr_lists.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/dev_addr_lists.c b/net/core/dev_addr_lists.c
index e3e6a3e2ca22..d884d8f5f0e5 100644
--- a/net/core/dev_addr_lists.c
+++ b/net/core/dev_addr_lists.c
@@ -839,7 +839,7 @@ void dev_mc_flush(struct net_device *dev)
  EXPORT_SYMBOL(dev_mc_flush);

  /**
- *     dev_mc_flush - Init multicast address list
+ *     dev_mc_init - Init multicast address list
   *     @dev: device
   *
   *     Init multicast address list.
-- 
2.17.0

             reply	other threads:[~2018-04-17  7:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-17  7:27 sunlianwen [this message]
2018-04-17 13:37 ` [PATCH] net: change the comment of dev_mc_init David Miller

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=e893355c-0a4c-8db5-c812-68e8edd2ded4@cn.fujitsu.com \
    --to=sunlw.fnst@cn.fujitsu.com \
    --cc=netdev@vger.kernel.org \
    /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