[PATCH -mm] add-a-rounddown_pow_of_two-routine-to-log2h.patch fix

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mariusz Kozlowski
Date: Friday, August 31, 2007 - 10:55 pm

Hello,

	This patch fixes the unbalanced parenthesis inroduced by
add-a-rounddown_pow_of_two-routine-to-log2h.patch.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

 include/linux/log2.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.23-rc4-mm1-a/include/linux/log2.h	2007-09-01 07:23:28.000000000 +0200
+++ linux-2.6.23-rc4-mm1-b/include/linux/log2.h	2007-09-01 07:29:27.000000000 +0200
@@ -186,7 +186,7 @@ unsigned long __rounddown_pow_of_two(uns
 (						\
 	__builtin_constant_p(n) ? (		\
 		(n == 1) ? 0 :			\
-		(1UL << ilog2(n)) :		\
+		(1UL << ilog2(n))) :		\
 	__rounddown_pow_of_two(n)		\
  )

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH -mm] add-a-rounddown_pow_of_two-routine-to-log2h.pa ..., Mariusz Kozlowski, (Fri Aug 31, 10:55 pm)
Re: [PATCH -mm] add-a-rounddown_pow_of_two-routine-to-log2 ..., Robert P. J. Day, (Fri Aug 31, 11:46 pm)