Skip to content

Commit

Permalink
net: hns: Fix some kernel-doc warnings in hns_enet.c
Browse files Browse the repository at this point in the history
Fixes the following W=1 kernel build warning(s):

drivers/net/ethernet/hisilicon/hns/hns_enet.c:1841: warning: Excess function parameter 'netdev' description in 'hns_set_multicast_list'
drivers/net/ethernet/hisilicon/hns/hns_enet.c:1841: warning: Excess function parameter 'p' description in 'hns_set_multicast_list'

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Wang Hai authored and David S. Miller committed Sep 10, 2020
1 parent 64dfc4f commit 43ec0f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/ethernet/hisilicon/hns/hns_enet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1829,8 +1829,7 @@ static int hns_nic_uc_unsync(struct net_device *netdev,

/**
* nic_set_multicast_list - set mutl mac address
* @netdev: net device
* @p: mac address
* @ndev: net device
*
* return void
*/
Expand Down

0 comments on commit 43ec0f0

Please sign in to comment.