commit | b3367164f4ff8ff2c1aa8bd79c7548f113b62b83 | [log] [tgz] |
---|---|---|
author | Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> | Thu Oct 29 02:59:27 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Nov 15 20:02:47 2015 -0800 |
tree | a512cbe330af757339644ec0cf59d72ca3f96c0b | |
parent | 57b573d14b0fb9f83575a2cf155862d251c8f0d1 [diff] |
staging: lustre: selftest.h: replace IS_PO2 by is_power_of_2 Replaces IS_PO2 by is_power_of_2. It is more accurate to use is_power_of_2 since it returns 1 for numbers that are powers of 2 only whereas IS_PO2 returns 1 for 0 and numbers that are powers of 2. Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>