Messages in this thread | | | Subject | Re: [PATCH][-next] loop: fix incorrect nesting levels on braces in nested if statements | From | Jens Axboe <> | Date | Fri, 9 Jun 2017 09:57:49 -0600 |
| |
On 06/09/2017 09:54 AM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > Adding another set of braces clarifies the block and ensures that > both the setting of err and the error exit are executed on the > deepest nested if statement. > > Detected by CoverityScan, CID#1440959 ("Nesting level does not > match indentation")
Already fixed:
http://git.kernel.dk/cgit/linux-block/commit/?h=for-4.13/block&id=b040ad9cf6a169cc000a5324fcada695dfa1f4b3
-- Jens Axboe
| |