[lustre-devel] [PATCH v3 2/5] staging: lustre: hash.c: Replace IS_PO2 by is_power_of_2
    Greg KH 
    gregkh at linuxfoundation.org
       
    Fri Nov  6 17:10:48 PST 2015
    
    
  
On Thu, Oct 29, 2015 at 02:55:50AM +0200, Aya Mahfouz wrote:
> 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 at intel.com>
> Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal at gmail.com>
> ---
> v2:
>         -changed commit message
> 	-added Andreas Reviewed by tag
> v3:
> 	-fixed checkpatch.pl warning
> 
>  drivers/staging/lustre/lustre/libcfs/hash.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
This doesn't apply to my tree, can you please refresh it and resend?
thanks,
greg k-h
    
    
More information about the lustre-devel
mailing list