From: Akinobu Mita Date: Wed, 5 Oct 2011 00:42:56 +0000 (+1100) Subject: lib-stringc-introduce-memchr_inv-fix-kernel-doc-for-memchr_inv X-Git-Tag: next-20111007~1^2~191 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7b58a28d62d75594e76c860aed6df21c7f0321ac;p=karo-tx-linux.git lib-stringc-introduce-memchr_inv-fix-kernel-doc-for-memchr_inv 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 Cc: Geert Uytterhoeven Acked-by: Christoph Lameter Signed-off-by: Andrew Morton --- diff --git a/lib/string.c b/lib/string.c index 18f511194bc6..11df54325fb8 100644 --- a/lib/string.c +++ b/lib/string.c @@ -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.