diff options
author | aybuke ozdemir <[email protected]> | 2015-02-19 23:06:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2015-02-26 12:23:57 -0800 |
commit | 95c3fe337b0c9e3a848be2c2778cbe028325d633 (patch) | |
tree | 601aa5f573e069f72b13f01ec8f5ef82b0992e86 | |
parent | d501e5641a44ac8bd4e1c2da28bf4b7fea63653f (diff) |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/lustre/lnet/selftest/conctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |