Commit dc60bf1d8328076c27fe07c1849a5c8399bafc39

Authored by Alexander Beregalov
Committed by Linus Torvalds
1 parent 32ab8f97dd

omfs: fix warning

fs/omfs/inode.c:495: warning: format '%llx' expects type 'long long
	unsigned int', but argument 2 has type 'u64'
fs/omfs/inode.c:495: warning: format '%llx' expects type 'long
	long unsigned int', but argument 3 has type '__be64'

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Acked-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

... ... @@ -492,7 +492,8 @@
492 492 if (sbi->s_num_blocks != be64_to_cpu(omfs_rb->r_num_blocks)) {
493 493 printk(KERN_ERR "omfs: block count discrepancy between "
494 494 "super and root blocks (%llx, %llx)\n",
495   - sbi->s_num_blocks, be64_to_cpu(omfs_rb->r_num_blocks));
  495 + (unsigned long long)sbi->s_num_blocks,
  496 + (unsigned long long)be64_to_cpu(omfs_rb->r_num_blocks));
496 497 goto out_brelse_bh2;
497 498 }
498 499