summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2020-09-10 22:56:16 +0800
committerDavid S. Miller <davem@davemloft.net>2020-09-10 15:18:18 -0700
commitce455af31b66875fb69fe1fc6cb2b5ae296a3bc3 (patch)
tree6719d84fd1dee4524d3e8b17bb480bbb196343ee /drivers/net/ethernet/hisilicon/hns
parentabbabe475fb7a6a13a89691ca3cc7a273667face (diff)
downloadlinux-ce455af31b66875fb69fe1fc6cb2b5ae296a3bc3.tar.gz
net: hns: fix 'cdev' kernel-doc warning in hnae_ae_unregister()
Rename cdev to hdev. Fixes the following W=1 kernel build warning(s): drivers/net/ethernet/hisilicon/hns/hnae.c:444: warning: Excess function parameter 'cdev' description in 'hnae_ae_unregister' Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns')
-rw-r--r--drivers/net/ethernet/hisilicon/hns/hnae.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns/hnae.c b/drivers/net/ethernet/hisilicon/hns/hnae.c
index 08339278c722..e017b7c34140 100644
--- a/drivers/net/ethernet/hisilicon/hns/hnae.c
+++ b/drivers/net/ethernet/hisilicon/hns/hnae.c
@@ -438,7 +438,7 @@ EXPORT_SYMBOL(hnae_ae_register);
/**
* hnae_ae_unregister - unregisters a HNAE AE engine
- * @cdev: the device to unregister
+ * @hdev: the device to unregister
*/
void hnae_ae_unregister(struct hnae_ae_dev *hdev)
{