]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: Fix kernel-doc
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 25 May 2021 10:52:47 +0000 (18:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 May 2021 22:26:47 +0000 (15:26 -0700)
commitdce8bb7dff1ca49093d86409d23a3b041cae0010
tree751bdcf874f76b6c40fd611ac1cd9f33f0e6dfbf
parent0a76653342150fb799c24fe1666a1b778a14f657
net: hns: Fix kernel-doc

Fix function name in hns_ethtool.c kernel-doc comment
to remove these warnings found by clang_w1.

drivers/net/ethernet/hisilicon/hns/hns_ethtool.c:202: warning: expecting
prototype for hns_nic_set_link_settings(). Prototype was for
hns_nic_set_link_ksettings() instead.
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c:837: warning: expecting
prototype for get_ethtool_stats(). Prototype was for
hns_get_ethtool_stats() instead.
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c:894: warning:
expecting prototype for get_strings(). Prototype was for
hns_get_strings() instead.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Fixes: 'commit ae347099a451 ("net: ethernet: hisilicon: hns: use phydev
from struct net_device")'
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c