[OPW,kernel,3/7] Staging: lustre: Fix no spaces at the start of the line
diff mbox

Message ID 30de31a29743f540f49f6fbdc31f53407b8728a7.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-
WARNING: please, no spaces at the start of a line

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

Comments

Waskiewicz Jr, Peter P Oct. 25, 2013, 11:44 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 here, interval_tree.c.

I actually missed this in patch 1/7 too.

Rest of the patch looks ok.

> WARNING: please, no spaces at the start of a line
> 
> Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
> ---
>  drivers/staging/lustre/lustre/ldlm/interval_tree.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/lustre/lustre/ldlm/interval_tree.c b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
> index dd72fd5..51a84ab 100644
> --- a/drivers/staging/lustre/lustre/ldlm/interval_tree.c
> +++ b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
> @@ -125,11 +125,11 @@ static inline __u64 min_u64(__u64 x, __u64 y)
>  
>  #define interval_for_each(node, root)		   \
>  for (node = interval_first(root); node != NULL;	 \
> -     node = interval_next(node))
> +	node = interval_next(node))
>  
>  #define interval_for_each_reverse(node, root)	   \
>  for (node = interval_last(root); node != NULL;	  \
> -     node = interval_prev(node))
> +	node = interval_prev(node))
>  
>  static struct interval_node *interval_first(struct interval_node *node)
>  {
> -- 
> 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 dd72fd5..51a84ab 100644
--- a/drivers/staging/lustre/lustre/ldlm/interval_tree.c
+++ b/drivers/staging/lustre/lustre/ldlm/interval_tree.c
@@ -125,11 +125,11 @@  static inline __u64 min_u64(__u64 x, __u64 y)
 
 #define interval_for_each(node, root)		   \
 for (node = interval_first(root); node != NULL;	 \
-     node = interval_next(node))
+	node = interval_next(node))
 
 #define interval_for_each_reverse(node, root)	   \
 for (node = interval_last(root); node != NULL;	  \
-     node = interval_prev(node))
+	node = interval_prev(node))
 
 static struct interval_node *interval_first(struct interval_node *node)
 {