[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <0d1ae163-7cde-4a78-852a-04fba827249f@mail.eladian.com>
Date: Thu, 19 Jul 2012 16:53:26 -0400 (EDT)
From: Daniel Wisehart <daniel.wisehart@...dian.com>
To: linux-kernel@...r.kernel.org
Cc: dm-devel@...hat.com
Subject: [Bcache v14 PATCH] fix compiler error
Hello Kent,
This patch keeps gcc 4.7.0 happy. The static function dump_bset() could be moved, but that would have made a bigger patch. :-)
Thanks,
Daniel
diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c
index 3c9c24d..4dc0ba5 100644
--- a/drivers/md/bcache/debug.c
+++ b/drivers/md/bcache/debug.c
@@ -83,6 +83,8 @@ struct keyprint_hack bch_pbtree(const struct btree *b)
#ifdef CONFIG_BCACHE_DEBUG
+static void dump_bset(struct btree *b, struct bset *i);
+
void bch_btree_verify(struct btree *b, struct bset *new)
{
struct btree *v = b->c->verify_data;
This communication is restricted - please see http://www.eladian.com for further information.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists