From: Randy Dunlap <rdun...@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 <rdun...@infradead.org> Cc: KONISHI Ryusuke <konishi.ryus...@lab.ntt.co.jp> Cc: linux-ni...@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); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/