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

Message ID 1381265002-4700-1-git-send-email-ebru.akagunduz@gmail.com
State Accepted
Headers show

Commit Message

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

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

Comments

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

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

> ---
>  drivers/staging/lustre/lnet/lnet/lo.c | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/drivers/staging/lustre/lnet/lnet/lo.c b/drivers/staging/lustre/lnet/lnet/lo.c
> index 670dae3..609e420 100644
> --- a/drivers/staging/lustre/lnet/lnet/lo.c
> +++ b/drivers/staging/lustre/lnet/lnet/lo.c
> @@ -36,16 +36,16 @@
>  #include <linux/lnet/lib-lnet.h>
>  
>  int
> -lolnd_send (lnet_ni_t *ni, void *private, lnet_msg_t *lntmsg)
> +lolnd_send(lnet_ni_t *ni, void *private, lnet_msg_t *lntmsg)
>  {
> -	LASSERT (!lntmsg->msg_routing);
> -	LASSERT (!lntmsg->msg_target_is_router);
> +	LASSERT(!lntmsg->msg_routing);
> +	LASSERT(!lntmsg->msg_target_is_router);
>  
>  	return lnet_parse(ni, &lntmsg->msg_hdr, ni->ni_nid, lntmsg, 0);
>  }
>  
>  int
> -lolnd_recv (lnet_ni_t *ni, void *private, lnet_msg_t *lntmsg,
> +lolnd_recv(lnet_ni_t *ni, void *private, lnet_msg_t *lntmsg,
>  	    int delayed, unsigned int niov,
>  	    struct iovec *iov, lnet_kiov_t *kiov,
>  	    unsigned int offset, unsigned int mlen, unsigned int rlen)
> @@ -89,17 +89,17 @@ static int lolnd_instanced;
>  void
>  lolnd_shutdown(lnet_ni_t *ni)
>  {
> -	CDEBUG (D_NET, "shutdown\n");
> -	LASSERT (lolnd_instanced);
> +	CDEBUG(D_NET, "shutdown\n");
> +	LASSERT(lolnd_instanced);
>  
>  	lolnd_instanced = 0;
>  }
>  
>  int
> -lolnd_startup (lnet_ni_t *ni)
> +lolnd_startup(lnet_ni_t *ni)
>  {
> -	LASSERT (ni->ni_lnd == &the_lolnd);
> -	LASSERT (!lolnd_instanced);
> +	LASSERT(ni->ni_lnd == &the_lolnd);
> +	LASSERT(!lolnd_instanced);
>  	lolnd_instanced = 1;
>  
>  	return (0);
> -- 
> 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:35 p.m. UTC | #2
On Tue, Oct 08, 2013 at 11:43:21PM +0300, Ebru Akagunduz wrote:
> Fix checkpatch.pl issues with space prohibited between
> function name and open parenthesis '(' in lo.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/lo.c b/drivers/staging/lustre/lnet/lnet/lo.c
index 670dae3..609e420 100644
--- a/drivers/staging/lustre/lnet/lnet/lo.c
+++ b/drivers/staging/lustre/lnet/lnet/lo.c
@@ -36,16 +36,16 @@ 
 #include <linux/lnet/lib-lnet.h>
 
 int
-lolnd_send (lnet_ni_t *ni, void *private, lnet_msg_t *lntmsg)
+lolnd_send(lnet_ni_t *ni, void *private, lnet_msg_t *lntmsg)
 {
-	LASSERT (!lntmsg->msg_routing);
-	LASSERT (!lntmsg->msg_target_is_router);
+	LASSERT(!lntmsg->msg_routing);
+	LASSERT(!lntmsg->msg_target_is_router);
 
 	return lnet_parse(ni, &lntmsg->msg_hdr, ni->ni_nid, lntmsg, 0);
 }
 
 int
-lolnd_recv (lnet_ni_t *ni, void *private, lnet_msg_t *lntmsg,
+lolnd_recv(lnet_ni_t *ni, void *private, lnet_msg_t *lntmsg,
 	    int delayed, unsigned int niov,
 	    struct iovec *iov, lnet_kiov_t *kiov,
 	    unsigned int offset, unsigned int mlen, unsigned int rlen)
@@ -89,17 +89,17 @@  static int lolnd_instanced;
 void
 lolnd_shutdown(lnet_ni_t *ni)
 {
-	CDEBUG (D_NET, "shutdown\n");
-	LASSERT (lolnd_instanced);
+	CDEBUG(D_NET, "shutdown\n");
+	LASSERT(lolnd_instanced);
 
 	lolnd_instanced = 0;
 }
 
 int
-lolnd_startup (lnet_ni_t *ni)
+lolnd_startup(lnet_ni_t *ni)
 {
-	LASSERT (ni->ni_lnd == &the_lolnd);
-	LASSERT (!lolnd_instanced);
+	LASSERT(ni->ni_lnd == &the_lolnd);
+	LASSERT(!lolnd_instanced);
 	lolnd_instanced = 1;
 
 	return (0);