aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-06-17 19:05:48 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-07-03 13:21:13 +0200
commitb984679efe1a616ec4ac919dba08286d71593900 (patch)
treeeb8bf50d5fddac43a059926e217d31f0fb0e4f0d /block
parentc1c72b59941e2f5aad4b02609d7ee7b121734b8d (diff)
block: integrity checkpatch cleanups
> 80 char lines and that sort of thing. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block')
-rw-r--r--block/blk-integrity.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/block/blk-integrity.c b/block/blk-integrity.c
index 65f23ef38bb..4ffa3814f6a 100644
--- a/block/blk-integrity.c
+++ b/block/blk-integrity.c
@@ -178,8 +178,9 @@ static ssize_t integrity_attr_show(struct kobject *kobj, struct attribute *attr,
return entry->show(bi, page);
}
-static ssize_t integrity_attr_store(struct kobject *kobj, struct attribute *attr,
- const char *page, size_t count)
+static ssize_t integrity_attr_store(struct kobject *kobj,
+ struct attribute *attr, const char *page,
+ size_t count)
{
struct blk_integrity *bi =
container_of(kobj, struct blk_integrity, kobj);
@@ -326,7 +327,8 @@ int blk_integrity_register(struct gendisk *disk, struct blk_integrity *template)
BUG_ON(template == NULL);
if (disk->integrity == NULL) {
- bi = kmem_cache_alloc(integrity_cachep, GFP_KERNEL | __GFP_ZERO);
+ bi = kmem_cache_alloc(integrity_cachep,
+ GFP_KERNEL | __GFP_ZERO);
if (!bi)
return -1;