Skip to content

Commit

Permalink
net: core: Correct function name dev_uc_flush() in the kerneldoc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Xiongfeng Wang authored and David S. Miller committed Mar 29, 2021
1 parent 3ba937f commit af82508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/core/dev_addr_lists.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit af82508

Please sign in to comment.