From: Akinobu Mita Date: Sun, 26 Mar 2006 09:39:04 +0000 (-0800) Subject: [PATCH] bitops: parisc: add ()-pair in __ffz() macro X-Git-Tag: v2.6.17-rc1~528 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3156054b02e263387d6cd27fd1b05eba2bc25459;p=platform%2Fkernel%2Flinux-3.10.git [PATCH] bitops: parisc: add ()-pair in __ffz() macro Noticed by Michael Tokarev add missing ()-pair in __ffz() macro for parisc Signed-off-by: Akinobu Mita Cc: Kyle McMartin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-parisc/bitops.h b/include/asm-parisc/bitops.h index 15d8c2b..ca6119a 100644 --- a/include/asm-parisc/bitops.h +++ b/include/asm-parisc/bitops.h @@ -220,7 +220,7 @@ static __inline__ unsigned long __ffs(unsigned long x) } /* Undefined if no bit is zero. */ -#define ffz(x) __ffs(~x) +#define ffz(x) __ffs(~(x)) /* * ffs: find first bit set. returns 1 to BITS_PER_LONG or 0 (if none set)