* [PATCH -next] ext4: fix balloc.c printk format warning
[not found] <20120130144102.8d202c7d8eccd503a86b3053@canb.auug.org.au>
@ 2012-01-31 3:09 ` Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2012-01-31 3:09 UTC (permalink / raw)
To: Stephen Rothwell
Cc: linux-next, LKML, Theodore Ts'o, Andreas Dilger, linux-ext4,
Andrew Morton
From: Randy Dunlap <rdunlap@xenotime.net>
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 <rdunlap@xenotime.net>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
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 */
^ permalink raw reply [flat|nested] only message in thread