Commit 36ee98b5 authored by Randy Dunlap's avatar Randy Dunlap Committed by Andrew Morton

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.orgSigned-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent c80da1fb
...@@ -28,7 +28,7 @@ static int count_argc(const char *str) ...@@ -28,7 +28,7 @@ static int count_argc(const char *str)
/** /**
* argv_free - free an argv * 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. * Frees an argv and the strings it points to.
*/ */
...@@ -46,7 +46,7 @@ EXPORT_SYMBOL(argv_free); ...@@ -46,7 +46,7 @@ EXPORT_SYMBOL(argv_free);
* @str: the string to be split * @str: the string to be split
* @argcp: returned argument count * @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 * @str. This is performed by strictly splitting on white-space; no
* quote processing is performed. Multiple whitespace characters are * quote processing is performed. Multiple whitespace characters are
* considered to be a single argument separator. The returned array * considered to be a single argument separator. The returned array
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment