]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
loop-cleanup-set_status-interface-checkpatch-fixes
authorAndrew Morton <akpm@google.com>
Wed, 5 Oct 2011 00:42:40 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Oct 2011 06:49:14 +0000 (17:49 +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 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);