]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
loop-cleanup-set_status-interface-checkpatch-fixes
authorAndrew Morton <akpm@google.com>
Tue, 8 Nov 2011 00:20:07 +0000 (11:20 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 8 Nov 2011 03:15:56 +0000 (14:15 +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 <akpm@linux-foundation.org>
drivers/block/loop.c

index 8a8ca958abe53c5bbf6cd9d4339f03d09d25d57b..68b205a9338f631adbd98df74836b98aa95d27ac 100644 (file)
@@ -1296,7 +1296,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);