summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorGeert Uytterhoeven2013-09-24 08:17:30 +0200
committerLinus Torvalds2013-09-24 23:41:43 +0200
commit61cbd250f867f98bb4738000afc6002d6f2b14bd (patch)
tree8435d97998946888f13922d1993406d130f72098 /drivers/md
parentbcache: Fix for when no journal entries are found (diff)
downloadkernel-qcow2-linux-61cbd250f867f98bb4738000afc6002d6f2b14bd.tar.gz
kernel-qcow2-linux-61cbd250f867f98bb4738000afc6002d6f2b14bd.tar.xz
kernel-qcow2-linux-61cbd250f867f98bb4738000afc6002d6f2b14bd.zip
bcache: Correct printf()-style format length modifier
Fix drivers/md/bcache/btree.c: In function ‘bch_btree_node_read’: drivers/md/bcache/btree.c:259: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘size_t’ Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Kent Overstreet <kmo@daterainc.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/bcache/btree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c
index f9764e61978b..8fad8402fb2e 100644
--- a/drivers/md/bcache/btree.c
+++ b/drivers/md/bcache/btree.c
@@ -255,7 +255,7 @@ void bch_btree_node_read(struct btree *b)
return;
err:
- bch_cache_set_error(b->c, "io error reading bucket %lu",
+ bch_cache_set_error(b->c, "io error reading bucket %zu",
PTR_BUCKET_NR(b->c, &b->key, 0));
}