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


Groups > linux.kernel > #1223305

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

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: lustre: lnet: klnds: socklnd: Added a space
Date 2015-09-12 06:40 +0200
Message-ID <q7KLv-6L3-17@gated-at.bofh.it> (permalink)
References <q7yhk-5qg-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[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

csiph-web