]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
loop-cleanup-set_status-interface-checkpatch-fixes
authorAndrew Morton <akpm@google.com>
Wed, 28 Sep 2011 00:49:52 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 4 Oct 2011 07:38:24 +0000 (18:38 +1100)
WARNING: line over 80 characters
#120: FILE: drivers/block/loop.c:1388:
+ (struct loop_info __user *) arg);

total: 0 errors, 1 warnings, 92 lines checked

./patches/loop-cleanup-set_status-interface.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: Dmitry Monakhov <dmonakhov@openvz.org>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <>
drivers/block/loop.c

index c8ed2e501cd2158bbb1ce6281eeee5f57e768912..a56c4b2f099880e2f4ee63a02204ef7ae8b1e134 100644 (file)
@@ -1385,7 +1385,7 @@ static int lo_ioctl(struct block_device *bdev, fmode_t mode,
                err = -EPERM;
                if ((mode & FMODE_WRITE) || capable(CAP_SYS_ADMIN))
                        err = loop_set_status_old(lo,
-                                               (struct loop_info __user *) arg);
+                                       (struct loop_info __user *)arg);
                break;
        case LOOP_GET_STATUS:
                err = loop_get_status_old(lo, (struct loop_info __user *) arg);