[PATCH] staging: lustre: lustre: ptlrpc: events: fix coding style issue

Drokin, Oleg oleg.drokin at intel.com
Sun Aug 31 17:13:27 UTC 2014


Apparently this was already fixed by commit 1d8cb70c7bdda47125ed551fc390aa9597c5f264 a few days ago.

On Aug 31, 2014, at 1:02 PM, Sun Wang wrote:

> From: sunwxg <743559269 at qq.com>
> 
> Coding style issues, the changes include:
> -Add sapce after ','
> 
> Signed-off-by: Sun Wang <743559269 at qq.com>
> 
> ---
> drivers/staging/lustre/lustre/ptlrpc/events.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/lustre/lustre/ptlrpc/events.c b/drivers/staging/lustre/lustre/ptlrpc/events.c
> index c3ec21d..ed811ef 100644
> --- a/drivers/staging/lustre/lustre/ptlrpc/events.c
> +++ b/drivers/staging/lustre/lustre/ptlrpc/events.c
> @@ -186,7 +186,8 @@ void client_bulk_callback(lnet_event_t *ev)
> 	if (CFS_FAIL_CHECK_ORSET(OBD_FAIL_PTLRPC_CLIENT_BULK_CB, CFS_FAIL_ONCE))
> 		ev->status = -EIO;
> 
> -	if (CFS_FAIL_CHECK_ORSET(OBD_FAIL_PTLRPC_CLIENT_BULK_CB2,CFS_FAIL_ONCE))
> +	if (CFS_FAIL_CHECK_ORSET(OBD_FAIL_PTLRPC_CLIENT_BULK_CB2,
> +				CFS_FAIL_ONCE))
> 		ev->status = -EIO;
> 
> 	CDEBUG((ev->status == 0) ? D_NET : D_ERROR,
> @@ -481,7 +482,7 @@ int ptlrpc_uuid_to_peer(struct obd_uuid *uuid,
> 		}
> 	}
> 
> -	CDEBUG(D_NET,"%s->%s\n", uuid->uuid, libcfs_id2str(*peer));
> +	CDEBUG(D_NET, "%s->%s\n", uuid->uuid, libcfs_id2str(*peer));
> 	return rc;
> }
> 
> 



More information about the devel mailing list