]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: Fix some kernel-doc warnings in hns_dsaf_xgmac.c
authorWang Hai <wanghai38@huawei.com>
Thu, 10 Sep 2020 14:56:17 +0000 (22:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 22:18:18 +0000 (15:18 -0700)
commit4befc90360450ec273e123019648d1ae42588471
tree4a63ec03a02766cfda90da0eb1191143bdaac8b5
parent8d6bf9da6e53e4d705615f9d80c24e0987cf4f08
net: hns: Fix some kernel-doc warnings in hns_dsaf_xgmac.c

Fixes the following W=1 kernel build warning(s):

drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c:137: warning: Excess function parameter 'drv' description in 'hns_xgmac_enable'
drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c:497: warning: Excess function parameter 'cmd' description in 'hns_xgmac_get_regs'

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_dsaf_xgmac.c