netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] net: change the comment of dev_mc_init
@ 2018-04-18  1:22 sunlianwen
  2018-04-19 17:36 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: sunlianwen @ 2018-04-18  1:22 UTC (permalink / raw)
  To: netdev

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

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

* Re: [PATCH v3] net: change the comment of dev_mc_init
  2018-04-18  1:22 [PATCH v3] net: change the comment of dev_mc_init sunlianwen
@ 2018-04-19 17:36 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-04-19 17:36 UTC (permalink / raw)
  To: sunlw.fnst; +Cc: netdev

From: sunlianwen <sunlw.fnst@cn.fujitsu.com>
Date: Wed, 18 Apr 2018 09:22:39 +0800

> 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

Applied.

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

end of thread, other threads:[~2018-04-19 17:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-18  1:22 [PATCH v3] net: change the comment of dev_mc_init sunlianwen
2018-04-19 17:36 ` David Miller

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