mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
net: hisilicon: fix hsn3_ethtool kernel-doc warnings
Fix kernel-doc warnings and spacing in hns3_ethtool.c: hns3_ethtool.c:246: warning: No description found for return value of 'hns3_lp_run_test' hns3_ethtool.c:408: warning: expecting prototype for hns3_nic_self_test(). Prototype was for hns3_self_test() instead Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kernel test robot <lkp@intel.com> Cc: Peng Li <lipeng321@huawei.com> Cc: Guangbin Huang <huangguangbin2@huawei.com> Cc: Yisen Zhuang <yisen.zhuang@huawei.com> Cc: Salil Mehta <salil.mehta@huawei.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
08fcdfa6e3
commit
85879f131d
@ -238,9 +238,11 @@ static void hns3_lb_clear_tx_ring(struct hns3_nic_priv *priv, u32 start_ringid,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hns3_lp_run_test - run loopback test
|
* hns3_lp_run_test - run loopback test
|
||||||
* @ndev: net device
|
* @ndev: net device
|
||||||
* @mode: loopback type
|
* @mode: loopback type
|
||||||
|
*
|
||||||
|
* Return: %0 for success or a NIC loopback test error code on failure
|
||||||
*/
|
*/
|
||||||
static int hns3_lp_run_test(struct net_device *ndev, enum hnae3_loop mode)
|
static int hns3_lp_run_test(struct net_device *ndev, enum hnae3_loop mode)
|
||||||
{
|
{
|
||||||
@ -398,7 +400,7 @@ static void hns3_do_selftest(struct net_device *ndev, int (*st_param)[2],
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hns3_nic_self_test - self test
|
* hns3_self_test - self test
|
||||||
* @ndev: net device
|
* @ndev: net device
|
||||||
* @eth_test: test cmd
|
* @eth_test: test cmd
|
||||||
* @data: test result
|
* @data: test result
|
||||||
|
Loading…
Reference in New Issue
Block a user