[OPW,kernel,1/2] staging: lustre: added space before the open parenthesis
diff mbox

Message ID 1382637978-9995-1-git-send-email-nandu.hgowda@gmail.com
State Accepted
Headers show

Commit Message

nandini h Oct. 24, 2013, 6:06 p.m. UTC
added space before the open parenthesis to fix checkpatch error

Signed-off-by: Nandini Hanumanthagowda <nandu.hgowda@gmail.com>
---
 drivers/staging/lustre/lustre/lvfs/lvfs_linux.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Rusty Russell Oct. 25, 2013, 12:28 a.m. UTC | #1
Nandini Hanumanthagowda <nandu.hgowda@gmail.com> writes:
> added space before the open parenthesis to fix checkpatch error
>
> Signed-off-by: Nandini Hanumanthagowda <nandu.hgowda@gmail.com>
> ---
>  drivers/staging/lustre/lustre/lvfs/lvfs_linux.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Rusty Russell <rusty@rustcorp.com.au>

Cheers,
Rusty.

>
> diff --git a/drivers/staging/lustre/lustre/lvfs/lvfs_linux.c b/drivers/staging/lustre/lustre/lvfs/lvfs_linux.c
> index ea37715..bb8b152 100644
> --- a/drivers/staging/lustre/lustre/lvfs/lvfs_linux.c
> +++ b/drivers/staging/lustre/lustre/lvfs/lvfs_linux.c
> @@ -65,9 +65,9 @@ EXPORT_SYMBOL(obd_memory);
>  					      msg)
>  # define ASSERT_KERNEL_CTXT(msg) LASSERTF(segment_eq(get_fs(), get_ds()), msg)
>  #else
> -# define ASSERT_CTXT_MAGIC(magic) do {} while(0)
> -# define ASSERT_NOT_KERNEL_CTXT(msg) do {} while(0)
> -# define ASSERT_KERNEL_CTXT(msg) do {} while(0)
> +# define ASSERT_CTXT_MAGIC(magic) do {} while (0)
> +# define ASSERT_NOT_KERNEL_CTXT(msg) do {} while (0)
> +# define ASSERT_KERNEL_CTXT(msg) do {} while (0)
>  #endif
>  
>  static void push_group_info(struct lvfs_run_ctxt *save,
> -- 
> 1.7.9.5
>
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Greg KH Oct. 27, 2013, 3:28 a.m. UTC | #2
On Thu, Oct 24, 2013 at 11:36:16PM +0530, Nandini Hanumanthagowda wrote:
> added space before the open parenthesis to fix checkpatch error
> 
> Signed-off-by: Nandini Hanumanthagowda <nandu.hgowda@gmail.com>

I messed up my scripts that tell you this has been applied, so I have to
do it by hand.  This and the 2/2 patch are now in my tree, thanks.

greg k-h
nandini h Oct. 27, 2013, 5:12 p.m. UTC | #3
Thanks greg :)

On Sunday, October 27, 2013 8:58:58 AM UTC+5:30, Greg Kroah-Hartman wrote:
>
> On Thu, Oct 24, 2013 at 11:36:16PM +0530, Nandini Hanumanthagowda wrote: 
> > added space before the open parenthesis to fix checkpatch error 
> > 
> > Signed-off-by: Nandini Hanumanthagowda <nandu....@gmail.com<javascript:>> 
>
>
> I messed up my scripts that tell you this has been applied, so I have to 
> do it by hand.  This and the 2/2 patch are now in my tree, thanks. 
>
> greg k-h 
>

Patch
diff mbox

diff --git a/drivers/staging/lustre/lustre/lvfs/lvfs_linux.c b/drivers/staging/lustre/lustre/lvfs/lvfs_linux.c
index ea37715..bb8b152 100644
--- a/drivers/staging/lustre/lustre/lvfs/lvfs_linux.c
+++ b/drivers/staging/lustre/lustre/lvfs/lvfs_linux.c
@@ -65,9 +65,9 @@  EXPORT_SYMBOL(obd_memory);
 					      msg)
 # define ASSERT_KERNEL_CTXT(msg) LASSERTF(segment_eq(get_fs(), get_ds()), msg)
 #else
-# define ASSERT_CTXT_MAGIC(magic) do {} while(0)
-# define ASSERT_NOT_KERNEL_CTXT(msg) do {} while(0)
-# define ASSERT_KERNEL_CTXT(msg) do {} while(0)
+# define ASSERT_CTXT_MAGIC(magic) do {} while (0)
+# define ASSERT_NOT_KERNEL_CTXT(msg) do {} while (0)
+# define ASSERT_KERNEL_CTXT(msg) do {} while (0)
 #endif
 
 static void push_group_info(struct lvfs_run_ctxt *save,