projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4668f0c
)
[PATCH] bitops: parisc: add ()-pair in __ffz() macro
author
Akinobu Mita
<mita@miraclelinux.com>
Sun, 26 Mar 2006 09:39:04 +0000
(
01:39
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:57:10 +0000
(08:57 -0800)
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>
include/asm-parisc/bitops.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-parisc/bitops.h
b/include/asm-parisc/bitops.h
index 15d8c2b5158408b13588229a0581b0577eae4f7a..ca6119af20af18cf90172331c3af014a3a3e643a 100644
(file)
--- 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)