Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6cd13f3 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds
Browse files

lib/string.c: fix kernel-doc warnings



Fix kernel-doc warnings (@arg name) in string.c::skip_spaces().

  Warning(lib/string.c:347): No description found for parameter 'str'
  Warning(lib/string.c:347): Excess function parameter 's' description in 'skip_spaces'

Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 83f57a11
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -338,10 +338,10 @@ EXPORT_SYMBOL(strnchr);
#endif

/**
 * skip_spaces - Removes leading whitespace from @s.
 * @s: The string to be stripped.
 * skip_spaces - Removes leading whitespace from @str.
 * @str: The string to be stripped.
 *
 * Returns a pointer to the first non-whitespace character in @s.
 * Returns a pointer to the first non-whitespace character in @str.
 */
char *skip_spaces(const char *str)
{