summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2021-03-26 02:36:25 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-26 22:58:44 +0100
commita1e144d7dc3c55aa4d451e3a23cd8f34cd65ee01 (patch)
treec8b0c044528328adc7f828d02cda43363b2df370 /drivers/net/ethernet/hisilicon
parentnet: hns3: remove unused parameter from hclge_dbg_dump_loopback() (diff)
downloadlinux-a1e144d7dc3c55aa4d451e3a23cd8f34cd65ee01.tar.xz
linux-a1e144d7dc3c55aa4d451e3a23cd8f34cd65ee01.zip
net: hns3: fix prototype warning
Correct a report warning in hns3_ethtool.c Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon')
-rw-r--r--drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
index a1d69c56d119..0ae6140882b7 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
+++ b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
@@ -307,7 +307,7 @@ out:
}
/**
- * hns3_nic_self_test - self test
+ * hns3_self_test - self test
* @ndev: net device
* @eth_test: test cmd
* @data: test result