From: Geert Uytterhoeven Date: Tue, 24 Sep 2013 06:17:30 +0000 (-0700) Subject: bcache: Correct printf()-style format length modifier X-Git-Tag: upstream/snapshot3+hdmi~4259^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61cbd250f867f98bb4738000afc6002d6f2b14bd;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Kent Overstreet Signed-off-by: Linus Torvalds --- diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c index f9764e6..8fad840 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)); }