]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
lib-stringc-introduce-memchr_inv-fix-kernel-doc-for-memchr_inv
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 28 Sep 2011 00:50:09 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 29 Sep 2011 06:08:04 +0000 (16:08 +1000)
This fixes kernel-doc for memchr_inv() which is introduced by
lib-stringc-introduce-memchr_inv.patch in mmotm 2011-08-24-14-08

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <>
lib/string.c

index 18f511194bc6f5dad04c15db689405ac00901309..11df54325fb8bce63c92b626a85dcbb3cbfb6e97 100644 (file)
@@ -769,10 +769,10 @@ static void *check_bytes8(const u8 *start, u8 value, unsigned int bytes)
 }
 
 /**
- * memchr_inv - Find a character in an area of memory.
- * @s: The memory area
- * @c: The byte to search for
- * @n: The size of the area.
+ * memchr_inv - Find an unmatching character in an area of memory.
+ * @start: The memory area
+ * @c: Find a character other than c
+ * @bytes: The size of the area.
  *
  * returns the address of the first character other than @c, or %NULL
  * if the whole buffer contains just @c.