diff options
author | Maxime Bizon <mbizon@freebox.fr> | 2013-08-30 18:06:41 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2013-08-30 15:57:01 -0700 |
commit | 3bd11cf56e4d9c9a79c0c1a4ebe381c674ec9709 (patch) | |
tree | d696c550232d2b6e5a279675a28398cb679590fb /drivers/firmware | |
parent | 3f8f80f0cfebab185b6fe599c53b63e7e8ae02c9 (diff) | |
download | blackbird-op-linux-3bd11cf56e4d9c9a79c0c1a4ebe381c674ec9709.tar.gz blackbird-op-linux-3bd11cf56e4d9c9a79c0c1a4ebe381c674ec9709.zip |
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>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions