[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1380003456-19938-6-git-send-email-kmo@daterainc.com>
Date: Mon, 23 Sep 2013 23:17:30 -0700
From: Kent Overstreet <kmo@...erainc.com>
To: torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-bcache@...r.kernel.org
Cc: axboe@...nel.dk, Geert Uytterhoeven <geert@...ux-m68k.org>,
Kent Overstreet <kmo@...erainc.com>
Subject: [PATCH 05/11] bcache: Correct printf()-style format length modifier
From: Geert Uytterhoeven <geert@...ux-m68k.org>
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@...ux-m68k.org>
Signed-off-by: Kent Overstreet <kmo@...erainc.com>
---
drivers/md/bcache/btree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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));
}
--
1.8.4.rc3
--
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