Re: [PATCH -mm] add-a-rounddown_pow_of_two-routine-to-log2h.patchfix
From: Andrew Morton
Date: Tue Sep 11 2007 - 23:43:35 EST
On Sat, 1 Sep 2007 07:55:36 +0200 Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx> wrote:
> 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@xxxxxxxxxx>
>
> 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) \
> )
umm, could we get some users of this thing, preferably in some code
path which people use?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/