Skip to contentSkip to conversation

Staging: lustre: Code Indentation

PATCH New Shraddha Barke 1 participant 1 message Aug 3, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: lustre: Code Indentation

Correct indentation issues according to checkpatch.pl :

WARNING: suspect code indent for conditional statements

---
 drivers/staging/lustre/lustre/llite/rw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/lustre/lustre/llite/rw.c +2 -2
index 991d20c..85e5d48 100644
@@ -383,9 +383,9 @@ static int index_in_window(unsigned long index, unsigned long point,
 	unsigned long start = point - before, end = point + after;
 
 	if (start > point)
-	       start = 0;
+		start = 0;
 	if (end < point)
-	       end = ~0;
+		end = ~0;
 
 	return start <= index && index <= end;
 }
Signature · 1 line
2.1.0