summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/debug.c
diff options
context:
space:
mode:
authorKent Overstreet <koverstreet@google.com>2013-03-25 19:46:44 +0100
committerJens Axboe <axboe@kernel.dk>2013-03-25 20:06:13 +0100
commitb1a67b0f4c747ca10c96ebb24f04e2a74b3c298d (patch)
tree32ff70d72673de4e99ae3b8c517540ccbe6a547f /drivers/md/bcache/debug.c
parentbcache: Build fixes from test robot (diff)
downloadlinux-b1a67b0f4c747ca10c96ebb24f04e2a74b3c298d.tar.xz
linux-b1a67b0f4c747ca10c96ebb24f04e2a74b3c298d.zip
bcache: Style/checkpatch fixes
Took out some nested functions, and fixed some more checkpatch complaints. Signed-off-by: Kent Overstreet <koverstreet@google.com> Cc: linux-bcache@vger.kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/bcache/debug.c')
-rw-r--r--drivers/md/bcache/debug.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c
index 4b37ef2b80e5..141a5cac11ad 100644
--- a/drivers/md/bcache/debug.c
+++ b/drivers/md/bcache/debug.c
@@ -217,8 +217,8 @@ void bch_data_verify(struct search *s)
if (memcmp(p1 + bv->bv_offset,
p2 + bv->bv_offset,
bv->bv_len))
- printk(KERN_ERR "bcache (%s): verify failed"
- " at sector %llu\n",
+ printk(KERN_ERR
+ "bcache (%s): verify failed at sector %llu\n",
bdevname(dc->bdev, name),
(uint64_t) s->orig_bio->bi_sector);
@@ -525,8 +525,8 @@ static ssize_t btree_fuzz(struct kobject *k, struct kobj_attribute *a,
k = bkey_next(k), l = bkey_next(l))
if (bkey_cmp(k, l) ||
KEY_SIZE(k) != KEY_SIZE(l))
- pr_err("key %zi differs: %s "
- "!= %s", (uint64_t *) k - i->d,
+ pr_err("key %zi differs: %s != %s",
+ (uint64_t *) k - i->d,
pkey(k), pkey(l));
for (j = 0; j < 3; j++) {