* [PATCH -next] bcache: fix btree printk format warning
[not found] ` <20130904181300.06fbf0698863cfaacf9fad9a-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org>
@ 2013-09-04 18:01 ` Randy Dunlap
[not found] ` <52277576.5020805-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2013-09-04 18:01 UTC (permalink / raw)
To: Stephen Rothwell
Cc: linux-next-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Andrew Morton,
Kent Overstreet, linux-bcache-u79uwXL29TY76Z2rM5mHXA
From: Randy Dunlap <rdunlap-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
Fix printk format warning on i386:
drivers/md/bcache/btree.c: In function 'bch_btree_node_read':
drivers/md/bcache/btree.c:259:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' [-Wformat]
Signed-off-by: Randy Dunlap <rdunlap-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
Cc: Kent Overstreet <kmo-PEzghdH756F8UrSeD/g0lQ@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
drivers/md/bcache/btree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20130904.orig/drivers/md/bcache/btree.c
+++ linux-next-20130904/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));
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -next] bcache: fix btree printk format warning
[not found] ` <52277576.5020805-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
@ 2013-09-04 18:59 ` Kent Overstreet
0 siblings, 0 replies; 2+ messages in thread
From: Kent Overstreet @ 2013-09-04 18:59 UTC (permalink / raw)
To: Randy Dunlap
Cc: Stephen Rothwell, linux-next-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Andrew Morton,
linux-bcache-u79uwXL29TY76Z2rM5mHXA
On Wed, Sep 04, 2013 at 11:01:26AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
>
> Fix printk format warning on i386:
I've sent out the fix for this, Jens just hasn't pulled it yet.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-04 18:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20130904181300.06fbf0698863cfaacf9fad9a@canb.auug.org.au>
[not found] ` <20130904181300.06fbf0698863cfaacf9fad9a-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org>
2013-09-04 18:01 ` [PATCH -next] bcache: fix btree printk format warning Randy Dunlap
[not found] ` <52277576.5020805-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2013-09-04 18:59 ` Kent Overstreet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox