diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-12-21 17:37:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-22 17:17:55 -0500 |
commit | a6cd13f3c98d1d16213e3b61054b9c209d93f877 (patch) | |
tree | 096b716009a2a24f078bb7bce7edc83f67f7477f /lib/string.c | |
parent | 83f57a11d84460dfe2afdb5a8bc759953428e38b (diff) |
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>
Diffstat (limited to 'lib/string.c')
-rw-r--r-- | lib/string.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/string.c b/lib/string.c index afce96af3afd..9f75b4ec50b8 100644 --- a/lib/string.c +++ b/lib/string.c | |||
@@ -338,10 +338,10 @@ EXPORT_SYMBOL(strnchr); | |||
338 | #endif | 338 | #endif |
339 | 339 | ||
340 | /** | 340 | /** |
341 | * skip_spaces - Removes leading whitespace from @s. | 341 | * skip_spaces - Removes leading whitespace from @str. |
342 | * @s: The string to be stripped. | 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 | char *skip_spaces(const char *str) | 346 | char *skip_spaces(const char *str) |
347 | { | 347 | { |