diff options
author | Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> | 2015-10-29 02:57:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-11-15 20:02:47 -0800 |
commit | 57b573d14b0fb9f83575a2cf155862d251c8f0d1 (patch) | |
tree | 918b001c0e0c0b6031b2d703bc626c4fe1d2e7a2 /drivers/staging/lustre/lnet/selftest/selftest.h | |
parent | staging: lustre: ldlm_extent.c: replace IS_PO2 by is_power_of_2 (diff) | |
download | linux-dev-57b573d14b0fb9f83575a2cf155862d251c8f0d1.tar.xz linux-dev-57b573d14b0fb9f83575a2cf155862d251c8f0d1.zip |
staging: lustre: workitem.c: 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.
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/selftest/selftest.h')
0 files changed, 0 insertions, 0 deletions