From 7d86118df2eea6cb4ffa79881ffdb2f3e93fae31 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 25 Oct 2011 01:53:51 +1100 Subject: [PATCH] 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 --- drivers/block/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5