Skip to content

Commit

Permalink
[PATCH] bitops: parisc: add ()-pair in __ffz() macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Mar 26, 2006
1 parent 4668f0c commit 3156054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-parisc/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3156054

Please sign in to comment.