From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] ext4: fix balloc.c printk format warning Date: Mon, 30 Jan 2012 19:09:24 -0800 Message-ID: <4F275B64.8060904@xenotime.net> References: <20120130144102.8d202c7d8eccd503a86b3053@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:36385 "HELO oproxy1-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752987Ab2AaCLV (ORCPT ); Mon, 30 Jan 2012 21:11:21 -0500 In-Reply-To: <20120130144102.8d202c7d8eccd503a86b3053@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: linux-next@vger.kernel.org, LKML , Theodore Ts'o , Andreas Dilger , linux-ext4@vger.kernel.org, Andrew Morton From: Randy Dunlap Fix printk format warning for a sector_t value: fs/ext4/balloc.c:405:3: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type 'sector_t' Signed-off-by: Randy Dunlap Cc: "Theodore Ts'o" Cc: Andreas Dilger Cc: linux-ext4@vger.kernel.org --- fs/ext4/balloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20120130.orig/fs/ext4/balloc.c +++ linux-next-20120130/fs/ext4/balloc.c @@ -404,7 +404,7 @@ int ext4_wait_block_bitmap(struct super_ if (!buffer_uptodate(bh)) { ext4_error(sb, "Cannot read block bitmap - " "block_group = %u, block_bitmap = %llu", - block_group, bh->b_blocknr); + block_group, (unsigned long long)bh->b_blocknr); return 1; } /* Panic or remount fs read-only if block bitmap is invalid */