Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754589Ab3DSVTb (ORCPT ); Fri, 19 Apr 2013 17:19:31 -0400 Received: from casper.infradead.org ([85.118.1.10]:52633 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754413Ab3DSVT3 (ORCPT ); Fri, 19 Apr 2013 17:19:29 -0400 Message-ID: <5171B4CB.7040302@infradead.org> Date: Fri, 19 Apr 2013 14:19:07 -0700 From: Randy Dunlap User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, KONISHI Ryusuke , linux-nilfs@vger.kernel.org Subject: [PATCH -next] nilfs2: fix printk format warning in page.c References: <20130419181924.a035efe6d5e73fe0db9ddb84@canb.auug.org.au> In-Reply-To: <20130419181924.a035efe6d5e73fe0db9ddb84@canb.auug.org.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1065 Lines: 29 From: Randy Dunlap 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 Cc: KONISHI Ryusuke 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); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/