Subject: [PATCH -next] nilfs2: fix printk format warning in page.c

From: Randy Dunlap <[email-masked]>
Date: Fri, 19 Apr 2013 14:19:07 -0700

From: Randy Dunlap <[email-masked]>

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 <[email-masked]>
Cc:	KONISHI Ryusuke <[email-masked]>
Cc:	[email-masked]
---
 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);