Re: [PATCH] staging: lustre: o2iblnd: fix misleading indentation

2015-10-22 Thread Dan Carpenter
On Wed, Oct 21, 2015 at 06:40:40PM +0100, Luis de Bethencourt wrote: > The code is correct, the indentation is misleading. Only the the return rc > is part of the conditional statement if rc != 0. > > Fix a smatch warning: > drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c:2157 > kiblnd_hdev_se

[PATCH] staging: lustre: o2iblnd: fix misleading indentation

2015-10-21 Thread Luis de Bethencourt
The code is correct, the indentation is misleading. Only the the return rc is part of the conditional statement if rc != 0. Fix a smatch warning: drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c:2157 kiblnd_hdev_setup_mrs() warn: curly braces intended? Signed-off-by: Luis de Bethencourt ---