* [PATCH -net] net: hisilicon: fix hsn3_ethtool kernel-doc warnings
@ 2021-11-06 3:14 Randy Dunlap
2021-11-07 19:30 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2021-11-06 3:14 UTC (permalink / raw)
To: netdev
Cc: Randy Dunlap, kernel test robot, Peng Li, Guangbin Huang,
Yisen Zhuang, Salil Mehta, David S. Miller, Jakub Kicinski
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>
---
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--- linux-next-20211106.orig/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
+++ linux-next-20211106/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH -net] net: hisilicon: fix hsn3_ethtool kernel-doc warnings
2021-11-06 3:14 [PATCH -net] net: hisilicon: fix hsn3_ethtool kernel-doc warnings Randy Dunlap
@ 2021-11-07 19:30 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-11-07 19:30 UTC (permalink / raw)
To: Randy Dunlap
Cc: netdev, lkp, lipeng321, huangguangbin2, yisen.zhuang, salil.mehta,
davem, kuba
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft•net>:
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 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>
>
> [...]
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-07 19:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-06 3:14 [PATCH -net] net: hisilicon: fix hsn3_ethtool kernel-doc warnings Randy Dunlap
2021-11-07 19:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox