Commit a6cd13f3c98d1d16213e3b61054b9c209d93f877

Authored by Randy Dunlap
Committed by Linus Torvalds
1 parent 83f57a11d8

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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

... ... @@ -338,10 +338,10 @@
338 338 #endif
339 339  
340 340 /**
341   - * skip_spaces - Removes leading whitespace from @s.
342   - * @s: The string to be stripped.
  341 + * skip_spaces - Removes leading whitespace from @str.
  342 + * @str: The string to be stripped.
343 343 *
344   - * Returns a pointer to the first non-whitespace character in @s.
  344 + * Returns a pointer to the first non-whitespace character in @str.
345 345 */
346 346 char *skip_spaces(const char *str)
347 347 {