Re: [PATCH v2] net: change the comment of dev_mc_init

2018-04-17 Thread David Miller
From: sunlianwen 
Date: Wed, 18 Apr 2018 08:29:52 +0800

> The comment of dev_mc_init() is wrong. which use dev_mc_flush
> instead of dev_mc_init.
> 
> Signed-off-by: Lianwen Sun 

Patch is still corrupted by your email client.

> - * dev_mc_flush - Init multicast address list
> + * dev_mc_init - Init multicast address list

The character after "*" is a TAB yet it is a sequence of SPACES
in your patch.

Your email client is doing this.

Please do not resend this patch to the mailing list until you can
successfully email the patch to yourself and apply the patch cleanly.


[PATCH v2] net: change the comment of dev_mc_init

2018-04-17 Thread sunlianwen

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

Signed-off-by: Lianwen Sun 
---
 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