mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
abbabe475f
commit
ce455af31b
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue