net: hisilicon: fix hsn3_ethtool kernel-doc warnings
Subsystems (4)
PATCH 1/1 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
--- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +4 -2
@@ -238,9 +238,11 @@ static void hns3_lb_clear_tx_ring(struct }/** -* hns3_lp_run_test - run loopback test +* hns3_lp_run_test - run loopback test * @ndev: net device * @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) {
@@ -398,7 +400,7 @@ static void hns3_do_selftest(struct net_ }/** -* hns3_nic_self_test - self test +* hns3_self_test - self test * @ndev: net device * @eth_test: test cmd * @data: test result
This patch was applied to netdev/net.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <[email protected]>:
Quoted 14 lines · On Fri, 5 Nov 2021 20:14:41 -0700 you wrote:
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 forhns3_nic_self_test(). Prototype was forhns3_self_test()insteadSigned-off-by Randy Dunlap <[email protected]>Reported-by kernel test robot <[email protected]>Cc Peng Li <[email protected]>Cc Guangbin Huang <[email protected]>Cc Yisen Zhuang <[email protected]>Cc Salil Mehta <[email protected]>Cc "David S. Miller" <[email protected]>Cc Jakub Kicinski <[email protected]>
Quoted 1 line
[...]
Here is the summary with links:
- [-net] net: hisilicon: fix hsn3_ethtool kernel-doc warnings
https://git.kernel.org/netdev/net/c/85879f131d78
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html