]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ext4: Compile warning fix when EXT_DEBUG enabled
authorMingming <cmm@us.ibm.com>
Tue, 1 Sep 2009 12:44:37 +0000 (08:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 1 Sep 2009 12:44:37 +0000 (08:44 -0400)
commit84fe3bef59dc45a1cb0d2f9b0aefa8f1fbfbdf98
tree2e6821186ace260d61d32774c5976e233e660a88
parent50797481a7bdee548589506d7d7b48b08bc14dcd
ext4: Compile warning fix when EXT_DEBUG enabled

When EXT_DEBUG is enabled I received the following compile warning on
PPC64:

  CC [M]  fs/ext4/inode.o
  CC [M]  fs/ext4/extents.o
fs/ext4/extents.c: In function ‘ext4_ext_rm_leaf’:
fs/ext4/extents.c:2097: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 2 has type ‘ext4_lblk_t’
fs/ext4/extents.c: In function ‘ext4_ext_get_blocks’:
fs/ext4/extents.c:2789: warning: format ‘%u’ expects type ‘unsigned int’, but argument 4 has type ‘long unsigned int’
fs/ext4/extents.c:2852: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘ext4_lblk_t’
fs/ext4/extents.c:2953: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘unsigned int’
  CC [M]  fs/ext4/migrate.o

The patch fixes compile warning.

Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Index: linux-2.6.31-rc4/fs/ext4/extents.c
===================================================================
fs/ext4/extents.c