]> git.karo-electronics.de Git - karo-tx-linux.git/commit
loop-cleanup-partitions-when-detaching-loop-device-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 20 Mar 2013 04:07:00 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:28:21 +0000 (16:28 +1100)
commit43d333c70834d524792e135cc15e3aa5d52649de
tree5a7eb7b7a2e4e0759964052d5f71b828b06371d4
parentd3eb2ad16e41dc27229628afd9f42b88606a5834
loop-cleanup-partitions-when-detaching-loop-device-checkpatch-fixes

ERROR: that open brace { should be on the previous line
#32: FILE: drivers/block/loop.c:1051:
+ if (bdev)
+ {

WARNING: line over 80 characters
#39: FILE: drivers/block/loop.c:1058:
+ disk_part_iter_init(&piter, bdev->bd_disk, DISK_PITER_INCL_EMPTY);

total: 1 errors, 1 warnings, 26 lines checked

./patches/loop-cleanup-partitions-when-detaching-loop-device.patch has style problems, please review.

If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Phillip Susi <psusi@ubuntu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/loop.c