Re: [PATCH] loop: fix error handling regression

2017-06-10 Thread Hannes Reinecke
On 06/09/2017 12:19 PM, Arnd Bergmann wrote: > gcc points out an unusual indentation: > > drivers/block/loop.c: In function 'loop_set_status': > drivers/block/loop.c:1149:3: error: this 'if' clause does not guard... > [-Werror=misleading-indentation] >if (figure_loop_size(lo,

Re: [PATCH] loop: fix error handling regression

2017-06-10 Thread Hannes Reinecke
On 06/09/2017 12:19 PM, Arnd Bergmann wrote: > gcc points out an unusual indentation: > > drivers/block/loop.c: In function 'loop_set_status': > drivers/block/loop.c:1149:3: error: this 'if' clause does not guard... > [-Werror=misleading-indentation] >if (figure_loop_size(lo,

Re: [PATCH] loop: fix error handling regression

2017-06-09 Thread Jens Axboe
On 06/09/2017 04:19 AM, Arnd Bergmann wrote: > gcc points out an unusual indentation: > > drivers/block/loop.c: In function 'loop_set_status': > drivers/block/loop.c:1149:3: error: this 'if' clause does not guard... > [-Werror=misleading-indentation] >if (figure_loop_size(lo,

Re: [PATCH] loop: fix error handling regression

2017-06-09 Thread Jens Axboe
On 06/09/2017 04:19 AM, Arnd Bergmann wrote: > gcc points out an unusual indentation: > > drivers/block/loop.c: In function 'loop_set_status': > drivers/block/loop.c:1149:3: error: this 'if' clause does not guard... > [-Werror=misleading-indentation] >if (figure_loop_size(lo,

[PATCH] loop: fix error handling regression

2017-06-09 Thread Arnd Bergmann
gcc points out an unusual indentation: drivers/block/loop.c: In function 'loop_set_status': drivers/block/loop.c:1149:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (figure_loop_size(lo, info->lo_offset, info->lo_sizelimit, ^~ drivers/block/loop.c:1152:4:

[PATCH] loop: fix error handling regression

2017-06-09 Thread Arnd Bergmann
gcc points out an unusual indentation: drivers/block/loop.c: In function 'loop_set_status': drivers/block/loop.c:1149:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (figure_loop_size(lo, info->lo_offset, info->lo_sizelimit, ^~ drivers/block/loop.c:1152:4: