diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-03-19 17:01:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-19 18:53:37 -0700 |
commit | 9df130392fb642ecd5564163b574ce69ffda1afa (patch) | |
tree | 26b81bd5e7c0250e24f155bb0c347bafd669ce3c /fs/ufs | |
parent | 9ea85ebae1e05100cdb4807db4f265b0ede7aad8 (diff) | |
download | kernel_samsung_tuna-9df130392fb642ecd5564163b574ce69ffda1afa.zip kernel_samsung_tuna-9df130392fb642ecd5564163b574ce69ffda1afa.tar.gz kernel_samsung_tuna-9df130392fb642ecd5564163b574ce69ffda1afa.tar.bz2 |
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>
Diffstat (limited to 'fs/ufs')
-rw-r--r-- | fs/ufs/balloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ufs/balloc.c b/fs/ufs/balloc.c index 1fca381..1e7598f 100644 --- a/fs/ufs/balloc.c +++ b/fs/ufs/balloc.c @@ -315,8 +315,8 @@ static void ufs_change_blocknr(struct inode *inode, sector_t beg, } UFSD(" change from %llu to %llu, pos %u\n", - (unsigned long long)pos + oldb, - (unsigned long long)pos + newb, pos); + (unsigned long long)(pos + oldb), + (unsigned long long)(pos + newb), pos); bh->b_blocknr = newb + pos; unmap_underlying_metadata(bh->b_bdev, |