提交 64dfc4f6 编写于 作者: W Wang Hai 提交者: David S. Miller

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: NHulk Robot <hulkci@huawei.com>
Signed-off-by: NWang Hai <wanghai38@huawei.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ce455af3
...@@ -130,7 +130,7 @@ static void hns_xgmac_lf_rf_control_init(struct mac_driver *mac_drv) ...@@ -130,7 +130,7 @@ static void hns_xgmac_lf_rf_control_init(struct mac_driver *mac_drv)
/** /**
*hns_xgmac_enable - enable xgmac port *hns_xgmac_enable - enable xgmac port
*@drv: mac driver *@mac_drv: mac driver
*@mode: mode of mac port *@mode: mode of mac port
*/ */
static void hns_xgmac_enable(void *mac_drv, enum mac_commom_mode mode) static void hns_xgmac_enable(void *mac_drv, enum mac_commom_mode mode)
...@@ -490,7 +490,6 @@ static void hns_xgmac_get_link_status(void *mac_drv, u32 *link_stat) ...@@ -490,7 +490,6 @@ static void hns_xgmac_get_link_status(void *mac_drv, u32 *link_stat)
/** /**
*hns_xgmac_get_regs - dump xgmac regs *hns_xgmac_get_regs - dump xgmac regs
*@mac_drv: mac driver *@mac_drv: mac driver
*@cmd:ethtool cmd
*@data:data for value of regs *@data:data for value of regs
*/ */
static void hns_xgmac_get_regs(void *mac_drv, void *data) static void hns_xgmac_get_regs(void *mac_drv, void *data)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册