commit | 3bd11cf56e4d9c9a79c0c1a4ebe381c674ec9709 | [log] [tgz] |
---|---|---|
author | Maxime Bizon <mbizon@freebox.fr> | Fri Aug 30 18:06:41 2013 +0200 |
committer | Tony Luck <tony.luck@intel.com> | Fri Aug 30 15:57:01 2013 -0700 |
tree | d696c550232d2b6e5a279675a28398cb679590fb | |
parent | 3f8f80f0cfebab185b6fe599c53b63e7e8ae02c9 [diff] |
pstore/ram: (really) fix undefined usage of rounddown_pow_of_two 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@freebox.fr> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Tony Luck <tony.luck@intel.com>