Skip to content

Commit

Permalink
net: hns: fix 'cdev' kernel-doc warning in hnae_ae_unregister()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wang Hai authored and David S. Miller committed Sep 10, 2020
1 parent abbabe4 commit ce455af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/hisilicon/hns/hnae.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit ce455af

Please sign in to comment.