From: aybuke ozdemir Date: Thu, 19 Feb 2015 21:06:46 +0000 (+0200) Subject: Staging: lustre: lnet: add spaces around '||' X-Git-Tag: v4.1-rc1~152^2~138^2~1006 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=95c3fe337b0c9e3a848be2c2778cbe028325d633;p=karo-tx-linux.git Staging: lustre: lnet: add spaces around '||' This fixes the checkpatch.pl error in conctl.c: ERROR: spaces required around that '||' (ctx:VxE) Signed-off-by: aybuke ozdemir Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lnet/selftest/conctl.c b/drivers/staging/lustre/lnet/selftest/conctl.c index fbff84cea52f..371a54df4f2f 100644 --- a/drivers/staging/lustre/lnet/selftest/conctl.c +++ b/drivers/staging/lustre/lnet/selftest/conctl.c @@ -203,7 +203,7 @@ lst_group_add_ioctl(lstio_group_add_args_t *args) if (args->lstio_grp_key != console_session.ses_key) return -EACCES; - if (args->lstio_grp_namep == NULL|| + if (args->lstio_grp_namep == NULL || args->lstio_grp_nmlen <= 0 || args->lstio_grp_nmlen > LST_NAME_SIZE) return -EINVAL;