From: Akinobu Mita Date: Wed, 28 Sep 2011 00:50:09 +0000 (+1000) Subject: lib-stringc-introduce-memchr_inv-fix-kernel-doc-for-memchr_inv X-Git-Tag: next-20110929~2^2~175 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a33c967437d8f1006446724b4b030af168b368c0;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.