lkml.org 
[lkml]   [2012]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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.


\
 
 \ /
  Last update: 2012-07-19 23:41    [W:0.071 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site