summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorXiongfeng Wang <wangxiongfeng2@huawei.com>2021-03-27 16:15:50 +0800
committerDavid S. Miller <davem@davemloft.net>2021-03-28 17:56:56 -0700
commitaf825087433fb94a431edf387c1265463fce3bd1 (patch)
tree4dd0c1135acd026430a52dbcb420682c82b6f253 /net/core
parent3ba937fb95e877f73b33c5b482f303dd9a8bf4fa (diff)
downloadlinux-af825087433fb94a431edf387c1265463fce3bd1.tar.gz
linux-af825087433fb94a431edf387c1265463fce3bd1.tar.bz2
linux-af825087433fb94a431edf387c1265463fce3bd1.zip
net: core: Correct function name dev_uc_flush() in the kerneldoc
Fix the following W=1 kernel build warning(s): net/core/dev_addr_lists.c:732: warning: expecting prototype for dev_uc_flush(). Prototype was for dev_uc_init() instead Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev_addr_lists.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev_addr_lists.c b/net/core/dev_addr_lists.c
index 1e5bde241185..45ae6eeb2964 100644
--- a/net/core/dev_addr_lists.c
+++ b/net/core/dev_addr_lists.c
@@ -723,7 +723,7 @@ void dev_uc_flush(struct net_device *dev)
EXPORT_SYMBOL(dev_uc_flush);
/**
- * dev_uc_flush - Init unicast address list
+ * dev_uc_init - Init unicast address list
* @dev: device
*
* Init unicast address list.