Skip to contentSkip to conversation

lib/string: fix kernel-doc warnings

PATCH New Randy Dunlap 1 participant 1 message Dec 17, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/string: fix kernel-doc warnings

From: Randy Dunlap <[email protected]>

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'

---
 lib/string.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
lib/string.c +3 -3
@@ -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)
 {