From: Andrew Morton Date: Mon, 24 Oct 2011 14:53:51 +0000 (+1100) Subject: loop-cleanup-set_status-interface-checkpatch-fixes X-Git-Tag: next-20111107~1^2~53 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7d86118df2eea6cb4ffa79881ffdb2f3e93fae31;p=karo-tx-linux.git loop-cleanup-set_status-interface-checkpatch-fixes 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 Cc: Jens Axboe Signed-off-by: Andrew Morton --- diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 8a8ca958abe5..68b205a9338f 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -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);