Re: [PATCH v2] Staging: lustre: Use of fls to find last set bit

2014-01-11 Thread Joe Perches
On Sun, 2014-01-12 at 01:02 +0530, Monam Agarwal wrote: > This introduces fls in lustre/ldlm/ldlm_extent.c > to find the last set bit. [] > Signed-off-by: Monam Agarwal > --- > Changes since v1: > *Incorrect commit message > *Use of fls function [] > diff --git a/drivers/staging/lustre/lustre/ld

[PATCH v2] Staging: lustre: Use of fls to find last set bit

2014-01-11 Thread Monam Agarwal
This introduces fls in lustre/ldlm/ldlm_extent.c to find the last set bit. It also fixes the following checkpatch.pl warning in lustre/ldlm/ldlm_extent.c WARNING: space prohibited before semicolon. The patch also fixes the following checkpatch.pl error in lustre/ldlm/ldlm_extent.c ERROR: traili