* [PATCH 2/2] Staging: lustre : Fix trailing statements should be on next line
@ 2014-01-11 11:47 Monam Agarwal
0 siblings, 0 replies; only message in thread
From: Monam Agarwal @ 2014-01-11 11:47 UTC (permalink / raw)
To: gregkh, monamagarwal123, andreas.dilger, peter.p.waskiewicz.jr,
tao.peng, devel, linux-kernel
The patch fixes the following checkpatch.pl error in
lustre/ldlm/ldlm_extent.c
ERROR: trailing statements should be on next line
Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com>
---
drivers/staging/lustre/lustre/ldlm/ldlm_extent.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c b/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c
index 374d6e4..8727057 100644
--- a/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c
+++ b/drivers/staging/lustre/lustre/ldlm/ldlm_extent.c
@@ -153,7 +153,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;
}
--
1.7.9.5
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-11 11:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-11 11:47 [PATCH 2/2] Staging: lustre : Fix trailing statements should be on next line Monam Agarwal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®