Linux NILFS development
 help / color / mirror / Atom feed
* [PATCH -next] nilfs2: fix printk format warning in page.c
       [not found] <20130419181924.a035efe6d5e73fe0db9ddb84@canb.auug.org.au>
@ 2013-04-19 21:19 ` Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2013-04-19 21:19 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, linux-kernel, KONISHI Ryusuke, linux-nilfs

From: Randy Dunlap <rdunlap@infradead.org>

Fix printk format warning by using %zu for 'size_t':

fs/nilfs2/page.c:430:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc:	KONISHI Ryusuke <konishi.ryusuke@lab.ntt.co.jp>
Cc:	linux-nilfs@vger.kernel.org
---
 fs/nilfs2/page.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20130419.orig/fs/nilfs2/page.c
+++ linux-next-20130419/fs/nilfs2/page.c
@@ -426,7 +426,7 @@ void nilfs_clear_dirty_page(struct page
 			lock_buffer(bh);
 			if (!silent) {
 				nilfs_warning(sb, __func__,
-					"discard block %llu, size %lu",
+					"discard block %llu, size %zu",
 					(u64)bh->b_blocknr, bh->b_size);
 			}
 			clear_buffer_dirty(bh);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-19 21:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130419181924.a035efe6d5e73fe0db9ddb84@canb.auug.org.au>
2013-04-19 21:19 ` [PATCH -next] nilfs2: fix printk format warning in page.c Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox