Skip to content

Commit

Permalink
argv_split: fix kernel-doc warnings
Browse files Browse the repository at this point in the history
Use proper kernel-doc notation to prevent build warnings:

lib/argv_split.c:36: warning: Function parameter or member 'argv' not described in 'argv_free'
lib/argv_split.c:61: warning: No description found for return value of 'argv_split'

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
rddunlap authored and akpm00 committed Sep 19, 2023
1 parent c80da1f commit 36ee98b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/argv_split.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static int count_argc(const char *str)

/**
* argv_free - free an argv
* @argv - the argument vector to be freed
* @argv: the argument vector to be freed
*
* Frees an argv and the strings it points to.
*/
Expand All @@ -46,7 +46,7 @@ EXPORT_SYMBOL(argv_free);
* @str: the string to be split
* @argcp: returned argument count
*
* Returns an array of pointers to strings which are split out from
* Returns: an array of pointers to strings which are split out from
* @str. This is performed by strictly splitting on white-space; no
* quote processing is performed. Multiple whitespace characters are
* considered to be a single argument separator. The returned array
Expand Down

0 comments on commit 36ee98b

Please sign in to comment.