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

Greg KH gregkh at linuxfoundation.org
Sat Sep 12 03:01:39 UTC 2015


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 at 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


More information about the devel mailing list