Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1199010 > unrolled thread

[PATCH] Staging: lustre: Code Indentation

Started byShraddha Barke <shraddha.6596@gmail.com>
First post2015-08-03 18:20 +0200
Last post2015-08-03 18:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] Staging: lustre: Code Indentation Shraddha Barke <shraddha.6596@gmail.com> - 2015-08-03 18:20 +0200

#1199010 — [PATCH] Staging: lustre: Code Indentation

FromShraddha Barke <shraddha.6596@gmail.com>
Date2015-08-03 18:20 +0200
Subject[PATCH] Staging: lustre: Code Indentation
Message-ID<pTqD0-8cj-27@gated-at.bofh.it>
Correct indentation issues according to checkpatch.pl :

WARNING: suspect code indent for conditional statements

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
---
 drivers/staging/lustre/lustre/llite/rw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/lustre/lustre/llite/rw.c b/drivers/staging/lustre/lustre/llite/rw.c
index 991d20c..85e5d48 100644
--- a/drivers/staging/lustre/lustre/llite/rw.c
+++ b/drivers/staging/lustre/lustre/llite/rw.c
@@ -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;
 }
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web