From: Geert Uytterhoeven Date: Mon, 29 Jul 2013 10:45:05 +0000 (+0200) Subject: bcache: Correct printf()-style format length modifier X-Git-Tag: next-20130912~34^2~6^2~55 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7735cad742ac13459a3251cc97a38dfc2f47a461;p=karo-tx-linux.git bcache: Correct printf()-style format length modifier 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 Signed-off-by: Kent Overstreet --- diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c index ee372884c405..60908de2af5f 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)); }