Skip to contentSkip to conversation

Staging: lustre : Fix trailing statements should be on next line

PATCH In review Monam Agarwal 1 participant 1 message Jan 11, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 Staging: lustre : Fix trailing statements should be on next line

The patch fixes the following checkpatch.pl error in lustre/ldlm/ldlm_extent.c
ERROR: trailing statements should be on next line

---
 drivers/staging/lustre/lustre/ldlm/ldlm_extent.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/lustre/lustre/ldlm/ldlm_extent.c +2 -1
index 374d6e4..8727057 100644
@@ -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;
 }
Signature · 1 line
1.7.9.5