net: hns: Fix a kernel-doc warning in hinic_hw_api_cmd.c
authorWang Hai <wanghai38@huawei.com>
Thu, 10 Sep 2020 14:56:19 +0000 (22:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 22:18:18 +0000 (15:18 -0700)
Fixes the following W=1 kernel build warning(s):

drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c:382: warning: Excess function parameter 'size' description in 'api_cmd'

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c

index 29e88e2..4e4029d 100644 (file)
@@ -373,7 +373,7 @@ static int wait_for_api_cmd_completion(struct hinic_api_cmd_chain *chain)
  * @chain: chain for the command
  * @dest: destination node on the card that will receive the command
  * @cmd: command data
- * @size: the command size
+ * @cmd_size: the command size
  *
  * Return 0 - Success, negative - Failure
  **/