Skip to content

Commit 43ec0f0

Browse files
Wang Haidavem330
authored andcommitted
net: hns: Fix some kernel-doc warnings in hns_enet.c
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 <[email protected]> Signed-off-by: Wang Hai <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 64dfc4f commit 43ec0f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/net/ethernet/hisilicon/hns/hns_enet.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,8 +1829,7 @@ static int hns_nic_uc_unsync(struct net_device *netdev,
18291829

18301830
/**
18311831
* nic_set_multicast_list - set mutl mac address
1832-
* @netdev: net device
1833-
* @p: mac address
1832+
* @ndev: net device
18341833
*
18351834
* return void
18361835
*/

0 commit comments

Comments
 (0)