Skip to content

Commit

Permalink
lib/string.c: fix kernel-doc warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Dec 22, 2009
1 parent 83f57a1 commit a6cd13f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/string.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a6cd13f

Please sign in to comment.