Skip to content

Commit da48894

Browse files
committed
ext4: fix compile warnings with EXT4FS_DEBUG enabled
Compile 2.6.38-rc1 with turning EXT4FS_DEBUG on, we get following compile warnings. This patch fixes them. CC fs/ext4/hash.o CC fs/ext4/resize.o fs/ext4/resize.c: In function 'setup_new_group_blocks': fs/ext4/resize.c:233:2: warning: format '%#04llx' expects type 'long long unsigned int', but argument 3 has type 'long unsigned int' fs/ext4/resize.c:251:2: warning: format '%#04llx' expects type 'long long unsigned int', but argument 3 has type 'long unsigned int' CC fs/ext4/extents.o CC fs/ext4/ext4_jbd2.o CC fs/ext4/migrate.o Reported-by: Akira Fujita <a-fujita@rs.jp.nec.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
1 parent 6f9524e commit da48894

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎fs/ext4/resize.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ static int setup_new_group_blocks(struct super_block *sb,
230230
}
231231

232232
/* Zero out all of the reserved backup group descriptor table blocks */
233-
ext4_debug("clear inode table blocks %#04llx -> %#04llx\n",
233+
ext4_debug("clear inode table blocks %#04llx -> %#04lx\n",
234234
block, sbi->s_itb_per_group);
235235
err = sb_issue_zeroout(sb, gdblocks + start + 1, reserved_gdb,
236236
GFP_NOFS);
@@ -248,7 +248,7 @@ static int setup_new_group_blocks(struct super_block *sb,
248248

249249
/* Zero out all of the inode table blocks */
250250
block = input->inode_table;
251-
ext4_debug("clear inode table blocks %#04llx -> %#04llx\n",
251+
ext4_debug("clear inode table blocks %#04llx -> %#04lx\n",
252252
block, sbi->s_itb_per_group);
253253
err = sb_issue_zeroout(sb, block, sbi->s_itb_per_group, GFP_NOFS);
254254
if (err)

0 commit comments

Comments
 (0)