Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1222907 > unrolled thread

[PATCH] staging: lustre: lnet: klnds: socklnd: Added a space

Started byAnjali Menon <cse.anjalimenon@gmail.com>
First post2015-09-11 17:20 +0200
Last post2015-09-12 06:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] staging: lustre: lnet: klnds: socklnd: Added a space Anjali Menon <cse.anjalimenon@gmail.com> - 2015-09-11 17:20 +0200
    Re: [PATCH] staging: lustre: lnet: klnds: socklnd: Added a space Greg KH <gregkh@linuxfoundation.org> - 2015-09-12 06:40 +0200

#1222907 — [PATCH] staging: lustre: lnet: klnds: socklnd: Added a space

FromAnjali Menon <cse.anjalimenon@gmail.com>
Date2015-09-11 17:20 +0200
Subject[PATCH] staging: lustre: lnet: klnds: socklnd: Added a space
Message-ID<q7yhk-5qg-17@gated-at.bofh.it>
Added a space to fix the following coding style error detected by
checkpatch:

ERROR: spaces required around that ':' (ctx:VxE)

Signed-off-by: Anjali Menon <cse.anjalimenon@gmail.com>
---
 drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
index fa7ad88..81943be 100644
--- a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
+++ b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
@@ -715,7 +715,7 @@ ksocknal_queue_tx_locked (ksock_tx_t *tx, ksock_conn_t *conn)
 	LASSERT (tx->tx_resid == tx->tx_nob);
 
 	CDEBUG (D_NET, "Packet %p type %d, nob %d niov %d nkiov %d\n",
-		tx, (tx->tx_lnetmsg != NULL) ? tx->tx_lnetmsg->msg_hdr.type:
+		tx, (tx->tx_lnetmsg != NULL) ? tx->tx_lnetmsg->msg_hdr.type :
 					       KSOCK_MSG_NOOP,
 		tx->tx_nob, tx->tx_niov, tx->tx_nkiov);
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1223305

FromGreg KH <gregkh@linuxfoundation.org>
Date2015-09-12 06:40 +0200
Message-ID<q7KLv-6L3-17@gated-at.bofh.it>
In reply to#1222907
On Fri, Sep 11, 2015 at 08:48:57PM +0530, Anjali Menon wrote:
> Added a space to fix the following coding style error detected by
> checkpatch:
> 
> ERROR: spaces required around that ':' (ctx:VxE)
> 
> Signed-off-by: Anjali Menon <cse.anjalimenon@gmail.com>
> ---
>  drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
> index fa7ad88..81943be 100644
> --- a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
> +++ b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
> @@ -715,7 +715,7 @@ ksocknal_queue_tx_locked (ksock_tx_t *tx, ksock_conn_t *conn)
>  	LASSERT (tx->tx_resid == tx->tx_nob);
>  
>  	CDEBUG (D_NET, "Packet %p type %d, nob %d niov %d nkiov %d\n",
> -		tx, (tx->tx_lnetmsg != NULL) ? tx->tx_lnetmsg->msg_hdr.type:
> +		tx, (tx->tx_lnetmsg != NULL) ? tx->tx_lnetmsg->msg_hdr.type :
>  					       KSOCK_MSG_NOOP,
>  		tx->tx_nob, tx->tx_niov, tx->tx_nkiov);
>  
> -- 
> 1.9.1

Someone else already sent this patch in before you did, sorry.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web