mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
[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 <mita@miraclelinux.com> Cc: Kyle McMartin <kyle@mcmartin.ca> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
4668f0cd0a
commit
3156054b02
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user