diff mbox series

net: change the comment of dev_mc_init

Message ID e893355c-0a4c-8db5-c812-68e8edd2ded4@cn.fujitsu.com
State Changes Requested, archived
Delegated to: David Miller
Headers show
Series net: change the comment of dev_mc_init | expand

Commit Message

Sun Lianwen April 17, 2018, 7:27 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 17, 2018, 1:37 p.m. UTC | #1
From: sunlianwen <sunlw.fnst@cn.fujitsu.com>
Date: Tue, 17 Apr 2018 15:27:01 +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>

Please don't put so many empty lines, one is enough to separate your
commit log message from the signoff.

> 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

This patch was corrupted by your email client, it transformed TAB
characters into sequences of SPACEs.
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.