Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Randy Dunlap and committed by
Andrew Morton
36ee98b5 c80da1fb

+2 -2
+2 -2
lib/argv_split.c
··· 28 28 29 29 /** 30 30 * argv_free - free an argv 31 - * @argv - the argument vector to be freed 31 + * @argv: the argument vector to be freed 32 32 * 33 33 * Frees an argv and the strings it points to. 34 34 */ ··· 46 46 * @str: the string to be split 47 47 * @argcp: returned argument count 48 48 * 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 50 50 * @str. This is performed by strictly splitting on white-space; no 51 51 * quote processing is performed. Multiple whitespace characters are 52 52 * considered to be a single argument separator. The returned array