diff mbox series

[v2] net: change the comment of dev_mc_init

Message ID 111096cf-2afc-4d81-78e6-0a3ca53403f4@cn.fujitsu.com
State Changes Requested, archived
Delegated to: David Miller
Headers show
Series [v2] net: change the comment of dev_mc_init | expand

Commit Message

Sun Lianwen April 18, 2018, 12:29 a.m. UTC
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(-)

Comments

David Miller April 18, 2018, 3:39 a.m. UTC | #1
From: sunlianwen <sunlw.fnst@cn.fujitsu.com>
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 <sunlw.fnst@cn.fujitsu.com>

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.
diff mbox series

Patch

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.