diff options
author | Haneen Mohammed <hamohammed.sa@gmail.com> | 2015-02-28 22:20:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-01 16:44:34 -0800 |
commit | 40c6dccfc1dfa48ec98b61a6a6e03199c09a6dc3 (patch) | |
tree | 95bcd3989dec69bc5b4a245fa52abc9e85e4f36b /drivers/staging/lustre/lustre/ldlm/ldlm_extent.c | |
parent | d428284244dfcd158c0d49c41f4dce33fc12e627 (diff) | |
download | op-kernel-dev-40c6dccfc1dfa48ec98b61a6a6e03199c09a6dc3.zip op-kernel-dev-40c6dccfc1dfa48ec98b61a6a6e03199c09a6dc3.tar.gz |
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>
Diffstat (limited to 'drivers/staging/lustre/lustre/ldlm/ldlm_extent.c')
-rw-r--r-- | drivers/staging/lustre/lustre/ldlm/ldlm_extent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c b/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c index a89eeba..fd9b059 100644 --- a/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c +++ b/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c @@ -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; } |