]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix balloc.c printk-format-warning
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 20 Feb 2012 22:57:24 +0000 (17:57 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 20 Feb 2012 22:57:24 +0000 (17:57 -0500)
commit1d8c368fec9f4c973b2b6742e266a156e8855784
tree83e147cbbac02d1a128f5031c43abef65f3590b3
parent654faefae43867403ff2dbb1eb96172d8d09dff6
ext4: fix balloc.c printk-format-warning

Get rid of this one:

fs/ext4/balloc.c: In function 'ext4_wait_block_bitmap':
fs/ext4/balloc.c:405:3: warning: format '%llu' expects argument of
  type 'long long unsigned int', but argument 6 has type 'sector_t' [-Wformat]

Happens because sector_t is u64 (unsigned long long) or unsigned long
dependent on CONFIG_64BIT.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/balloc.c