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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Robert Day <rpjday@...>, lkml <linux-kernel@...>
Date: Saturday, September 1, 2007 - 1:55 am

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.patc..., Mariusz Kozlowski, (Sat Sep 1, 1:55 am)