[OPW,kernel,4/7] Staging: lustre: Fix space required after ','
diff mbox

Message ID 796c85a0cc385716da32cb882e10e319cead1aa3.1382737168.git.rashika.kheria@gmail.com
State Changes Requested
Headers show

Commit Message

Rashika Oct. 25, 2013, 9:43 p.m. UTC
This patch fixes the following checkpatch.pl warning in lustre/ldlm/inteval_tree.c-
ERROR: space required after that ',' (ctx:VxV)

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
---
 drivers/staging/lustre/lustre/ldlm/interval_tree.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Waskiewicz Jr, Peter P Oct. 25, 2013, 11:46 p.m. UTC | #1
On Sat, 2013-10-26 at 03:13 +0530, Rashika Kheria wrote:
> This patch fixes the following checkpatch.pl warning in lustre/ldlm/inteval_tree.c-

Spelling, interval_tree.c

Rest looks good.

> ERROR: space required after that ',' (ctx:VxV)
> 
> Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
> ---
>  drivers/staging/lustre/lustre/ldlm/interval_tree.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/lustre/lustre/ldlm/interval_tree.c b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
> index 51a84ab..d8bd1e1 100644
> --- a/drivers/staging/lustre/lustre/ldlm/interval_tree.c
> +++ b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
> @@ -239,7 +239,7 @@ static void __rotate_change_maxhigh(struct interval_node *node,
>  	left_max = node->in_left ? node->in_left->in_max_high : 0;
>  	right_max = node->in_right ? node->in_right->in_max_high : 0;
>  	node->in_max_high  = max_u64(interval_high(node),
> -				     max_u64(left_max,right_max));
> +				     max_u64(left_max, right_max));
>  }
>  
>  /* The left rotation "pivots" around the link from node to node->right, and
> -- 
> 1.7.9.5
>

Patch
diff mbox

diff --git a/drivers/staging/lustre/lustre/ldlm/interval_tree.c b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
index 51a84ab..d8bd1e1 100644
--- a/drivers/staging/lustre/lustre/ldlm/interval_tree.c
+++ b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
@@ -239,7 +239,7 @@  static void __rotate_change_maxhigh(struct interval_node *node,
 	left_max = node->in_left ? node->in_left->in_max_high : 0;
 	right_max = node->in_right ? node->in_right->in_max_high : 0;
 	node->in_max_high  = max_u64(interval_high(node),
-				     max_u64(left_max,right_max));
+				     max_u64(left_max, right_max));
 }
 
 /* The left rotation "pivots" around the link from node to node->right, and