diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-06-17 13:05:48 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-07-03 07:21:13 -0400 |
commit | b984679efe1a616ec4ac919dba08286d71593900 (patch) | |
tree | eb8bf50d5fddac43a059926e217d31f0fb0e4f0d /block/blk-integrity.c | |
parent | c1c72b59941e2f5aad4b02609d7ee7b121734b8d (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/blk-integrity.c')
-rw-r--r-- | block/blk-integrity.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/block/blk-integrity.c b/block/blk-integrity.c index 65f23ef38bbe..4ffa3814f6a9 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, | |||
178 | return entry->show(bi, page); | 178 | return entry->show(bi, page); |
179 | } | 179 | } |
180 | 180 | ||
181 | static ssize_t integrity_attr_store(struct kobject *kobj, struct attribute *attr, | 181 | static ssize_t integrity_attr_store(struct kobject *kobj, |
182 | const char *page, size_t count) | 182 | struct attribute *attr, const char *page, |
183 | size_t count) | ||
183 | { | 184 | { |
184 | struct blk_integrity *bi = | 185 | struct blk_integrity *bi = |
185 | container_of(kobj, struct blk_integrity, kobj); | 186 | container_of(kobj, struct blk_integrity, kobj); |
@@ -326,7 +327,8 @@ int blk_integrity_register(struct gendisk *disk, struct blk_integrity *template) | |||
326 | BUG_ON(template == NULL); | 327 | BUG_ON(template == NULL); |
327 | 328 | ||
328 | if (disk->integrity == NULL) { | 329 | if (disk->integrity == NULL) { |
329 | bi = kmem_cache_alloc(integrity_cachep, GFP_KERNEL | __GFP_ZERO); | 330 | bi = kmem_cache_alloc(integrity_cachep, |
331 | GFP_KERNEL | __GFP_ZERO); | ||
330 | if (!bi) | 332 | if (!bi) |
331 | return -1; | 333 | return -1; |
332 | 334 | ||