RE: [PATCH] pstore/ram: (really) fix undefined usage ofrounddown_pow_of_two

From: Luck, Tony
Date: Fri Aug 30 2013 - 19:06:01 EST


>> Previous attempt to fix was b042e47491ba5f487601b5141a3f1d8582304170
>>
>> Suggested use of is_power_of_2() was bogus because is_power_of_2(0) is
>> false (documented behaviour).
>>
>> Signed-off-by: Maxime Bizon <mbizon@xxxxxxxxxx>
>
> Yes, excellent point. :)
>
> Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

Applied. Thanks.

-Tony
--
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/