[OPW,kernel,2/2] Staging: lustre: fix space prohibited between function name and open parenthesis '(' in module.c
diff mbox

Message ID 1381264312-4537-2-git-send-email-ebru.akagunduz@gmail.com
State Accepted
Headers show

Commit Message

Ebru Akagündüz Oct. 8, 2013, 8:31 p.m. UTC
Fix checkpatch.pl issues with space prohibited between
function name and open parenthesis '(' in module.c

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
---
 drivers/staging/lustre/lnet/lnet/module.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Josh Triplett Oct. 8, 2013, 11:23 p.m. UTC | #1
On Tue, Oct 08, 2013 at 11:31:52PM +0300, Ebru Akagunduz wrote:
> Fix checkpatch.pl issues with space prohibited between
> function name and open parenthesis '(' in module.c
> 
> Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

> ---
>  drivers/staging/lustre/lnet/lnet/module.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/staging/lustre/lnet/lnet/module.c b/drivers/staging/lustre/lnet/lnet/module.c
> index f323f03..6db8774 100644
> --- a/drivers/staging/lustre/lnet/lnet/module.c
> +++ b/drivers/staging/lustre/lnet/lnet/module.c
> @@ -44,7 +44,7 @@ CFS_MODULE_PARM(config_on_load, "i", int, 0444,
>  static struct mutex lnet_config_mutex;
>  
>  int
> -lnet_configure (void *arg)
> +lnet_configure(void *arg)
>  {
>  	/* 'arg' only there so I can be passed to cfs_create_thread() */
>  	int    rc = 0;
> @@ -64,7 +64,7 @@ lnet_configure (void *arg)
>  }
>  
>  int
> -lnet_unconfigure (void)
> +lnet_unconfigure(void)
>  {
>  	int   refcount;
>  
> @@ -124,7 +124,7 @@ init_lnet(void)
>  	}
>  
>  	rc = libcfs_register_ioctl(&lnet_ioctl_handler);
> -	LASSERT (rc == 0);
> +	LASSERT(rc == 0);
>  
>  	if (config_on_load) {
>  		/* Have to schedule a separate thread to avoid deadlocking
> @@ -141,7 +141,7 @@ fini_lnet(void)
>  	int rc;
>  
>  	rc = libcfs_deregister_ioctl(&lnet_ioctl_handler);
> -	LASSERT (rc == 0);
> +	LASSERT(rc == 0);
>  
>  	LNetFini();
>  }
> -- 
> 1.8.1.2
> 
> -- 
> 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 Kroah-Hartman Oct. 11, 2013, 8:27 p.m. UTC | #2
On Tue, Oct 08, 2013 at 11:31:52PM +0300, Ebru Akagunduz wrote:
> Fix checkpatch.pl issues with space prohibited between
> function name and open parenthesis '(' in module.c
> 
> Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>

Applied, thanks.

greg k-h

Patch
diff mbox

diff --git a/drivers/staging/lustre/lnet/lnet/module.c b/drivers/staging/lustre/lnet/lnet/module.c
index f323f03..6db8774 100644
--- a/drivers/staging/lustre/lnet/lnet/module.c
+++ b/drivers/staging/lustre/lnet/lnet/module.c
@@ -44,7 +44,7 @@  CFS_MODULE_PARM(config_on_load, "i", int, 0444,
 static struct mutex lnet_config_mutex;
 
 int
-lnet_configure (void *arg)
+lnet_configure(void *arg)
 {
 	/* 'arg' only there so I can be passed to cfs_create_thread() */
 	int    rc = 0;
@@ -64,7 +64,7 @@  lnet_configure (void *arg)
 }
 
 int
-lnet_unconfigure (void)
+lnet_unconfigure(void)
 {
 	int   refcount;
 
@@ -124,7 +124,7 @@  init_lnet(void)
 	}
 
 	rc = libcfs_register_ioctl(&lnet_ioctl_handler);
-	LASSERT (rc == 0);
+	LASSERT(rc == 0);
 
 	if (config_on_load) {
 		/* Have to schedule a separate thread to avoid deadlocking
@@ -141,7 +141,7 @@  fini_lnet(void)
 	int rc;
 
 	rc = libcfs_deregister_ioctl(&lnet_ioctl_handler);
-	LASSERT (rc == 0);
+	LASSERT(rc == 0);
 
 	LNetFini();
 }