Skip to content

Commit f3e9a7c

Browse files
Wang Haidavem330
authored andcommitted
net: hns: Fix a kernel-doc warning in hinic_hw_api_cmd.c
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 <[email protected]> Signed-off-by: Wang Hai <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 43ec0f0 commit f3e9a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ static int wait_for_api_cmd_completion(struct hinic_api_cmd_chain *chain)
373373
* @chain: chain for the command
374374
* @dest: destination node on the card that will receive the command
375375
* @cmd: command data
376-
* @size: the command size
376+
* @cmd_size: the command size
377377
*
378378
* Return 0 - Success, negative - Failure
379379
**/

0 commit comments

Comments
 (0)