* [PATCH] Staging: lustre: Code Indentation
@ 2015-08-03 16:15 Shraddha Barke
0 siblings, 0 replies; 2+ messages in thread
From: Shraddha Barke @ 2015-08-03 16:15 UTC (permalink / raw)
To: linux-kernel, Julia Lawall, Joe Perches, Jiayi Ye,
Greg Kroah-Hartman, Andreas Dilger, Oleg Drokin, devel,
HPDD-discuss
Cc: Shraddha Barke
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] Staging : lustre : Code Indentation
@ 2015-08-03 14:46 Shraddha Barke
0 siblings, 0 replies; 2+ messages in thread
From: Shraddha Barke @ 2015-08-03 14:46 UTC (permalink / raw)
To: linux-kernel, Julia Lawall, Joe Perches, Jiayi Ye,
Greg Kroah-Hartman, Andreas Dilger, Oleg Drokin, devel,
HPDD-discuss
Cc: Shraddha Barke
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-03 16:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-03 16:15 [PATCH] Staging: lustre: Code Indentation Shraddha Barke
-- strict thread matches above, loose matches on Subject: below --
2015-08-03 14:46 [PATCH] Staging : lustre : " Shraddha Barke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).