Skip to content

Commit

Permalink
net: hns: Fix a kernel-doc warning in hinic_hw_api_cmd.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wang Hai authored and David S. Miller committed Sep 10, 2020
1 parent 43ec0f0 commit f3e9a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
**/
Expand Down

0 comments on commit f3e9a7c

Please sign in to comment.