Commit 3156054b authored by Akinobu Mita's avatar Akinobu Mita Committed by Linus Torvalds

[PATCH] bitops: parisc: add ()-pair in __ffz() macro

Noticed by Michael Tokarev

add missing ()-pair in __ffz() macro for parisc
Signed-off-by: default avatarAkinobu Mita <mita@miraclelinux.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4668f0cd
...@@ -220,7 +220,7 @@ static __inline__ unsigned long __ffs(unsigned long x) ...@@ -220,7 +220,7 @@ static __inline__ unsigned long __ffs(unsigned long x)
} }
/* Undefined if no bit is zero. */ /* 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) * ffs: find first bit set. returns 1 to BITS_PER_LONG or 0 (if none set)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment