Skip to content

Commit 9df1303

Browse files
akpm00torvalds
authored andcommitted
fs/ufs/balloc.c: fix sparc64 printk warning
fs/ufs/balloc.c: In function `ufs_change_blocknr': fs/ufs/balloc.c:317: warning: long long unsigned int format, long unsigned int arg (arg 2) fs/ufs/balloc.c:317: warning: long long unsigned int format, long unsigned int arg (arg 3) sector_t is u64 and we don't know what type the architecture uses to implement u64. Cc: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 9ea85eb commit 9df1303

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎fs/ufs/balloc.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ static void ufs_change_blocknr(struct inode *inode, sector_t beg,
315315
}
316316

317317
UFSD(" change from %llu to %llu, pos %u\n",
318-
(unsigned long long)pos + oldb,
319-
(unsigned long long)pos + newb, pos);
318+
(unsigned long long)(pos + oldb),
319+
(unsigned long long)(pos + newb), pos);
320320

321321
bh->b_blocknr = newb + pos;
322322
unmap_underlying_metadata(bh->b_bdev,

0 commit comments

Comments
 (0)