From 33b0e33cc93e1a8f6d9d3a6fe7dcfcb1d1de2091 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 5 Oct 2011 11:42:40 +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 c8ed2e501cd2..a56c4b2f0998 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -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); -- 2.39.5