]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: hns: Fix some kernel-doc warnings in hns_enet.c
authorWang Hai <wanghai38@huawei.com>
Thu, 10 Sep 2020 14:56:18 +0000 (22:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 22:18:18 +0000 (15:18 -0700)
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>
drivers/net/ethernet/hisilicon/hns/hns_enet.c

index b13f3a5cdf5993ab406079094b33875777abdde0..b658b9de81d7d92037cb7deb7e2cd14b283629fb 100644 (file)
@@ -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
  */