Skip to content

Commit 36ee98b

Browse files
rddunlapakpm00
authored andcommitted
argv_split: fix kernel-doc warnings
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/20230912060838.3794-1-rdunlap@infradead.org Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent c80da1f commit 36ee98b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/argv_split.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static int count_argc(const char *str)
2828

2929
/**
3030
* argv_free - free an argv
31-
* @argv - the argument vector to be freed
31+
* @argv: the argument vector to be freed
3232
*
3333
* Frees an argv and the strings it points to.
3434
*/
@@ -46,7 +46,7 @@ EXPORT_SYMBOL(argv_free);
4646
* @str: the string to be split
4747
* @argcp: returned argument count
4848
*
49-
* Returns an array of pointers to strings which are split out from
49+
* Returns: an array of pointers to strings which are split out from
5050
* @str. This is performed by strictly splitting on white-space; no
5151
* quote processing is performed. Multiple whitespace characters are
5252
* considered to be a single argument separator. The returned array

0 commit comments

Comments
 (0)