lkml.org 
[lkml]   [2014]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 1/2] Staging: lustre: Fix line length exceeding 80 characters
This patch fixes the following checkpatch.pl warning in
lustre/ldlm/interval_tree.c
WARNING: line over 80 characters in the file

Signed-off-by: MonamAgarwal <monamagarwal123@gmail.com>
---
drivers/staging/lustre/lustre/ldlm/interval_tree.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/lustre/lustre/ldlm/interval_tree.c b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
index 1de1d8e..f61bf19 100644
--- a/drivers/staging/lustre/lustre/ldlm/interval_tree.c
+++ b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
@@ -429,7 +429,8 @@ static void interval_erase_color(struct interval_node *node,
struct interval_node *o_left;
o_left = tmp->in_left;
if (o_left)
- o_left->in_color = INTERVAL_BLACK;
+ o_left->in_color =
+ INTERVAL_BLACK;
tmp->in_color = INTERVAL_RED;
__rotate_right(tmp, root);
tmp = parent->in_right;
@@ -437,7 +438,8 @@ static void interval_erase_color(struct interval_node *node,
tmp->in_color = parent->in_color;
parent->in_color = INTERVAL_BLACK;
if (tmp->in_right)
- tmp->in_right->in_color = INTERVAL_BLACK;
+ tmp->in_right->in_color =
+ INTERVAL_BLACK;
__rotate_left(parent, root);
node = *root;
break;
@@ -460,7 +462,8 @@ static void interval_erase_color(struct interval_node *node,
struct interval_node *o_right;
o_right = tmp->in_right;
if (o_right)
- o_right->in_color = INTERVAL_BLACK;
+ o_right->in_color =
+ INTERVAL_BLACK;
tmp->in_color = INTERVAL_RED;
__rotate_left(tmp, root);
-- tmp = parent->in_left;
1.7.9.5


\
 
 \ /
  Last update: 2014-01-05 21:21    [W:0.080 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site