Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)