mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Staging: lustre: lustre: idlm: Move trailing statement to next line
This patch Fix both "trailing statement should be on next line" and space before semicolon errors addressed by checkpatch.pl Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d428284244
commit
40c6dccfc1
1 changed files with 2 additions and 1 deletions
|
|
@ -151,7 +151,8 @@ static inline int lock_mode_to_index(ldlm_mode_t mode)
|
|||
|
||||
LASSERT(mode != 0);
|
||||
LASSERT(IS_PO2(mode));
|
||||
for (index = -1; mode; index++, mode >>= 1) ;
|
||||
for (index = -1; mode; index++)
|
||||
mode >>= 1;
|
||||
LASSERT(index < LCK_MODE_NUM);
|
||||
return index;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue