Commit 099bb7c0 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] jfs warning fix

On ppc64, s64 is `long'.

In file included from fs/jfs/jfs_xtree.h:25,
                 from fs/jfs/jfs_incore.h:26,
                 from fs/jfs/super.c:29:
fs/jfs/jfs_btree.h: In function `BT_STACK_DUMP':
fs/jfs/jfs_btree.h:151: warning: long long unsigned int format, s64 arg (arg 2)

Cc: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0489ea09
......@@ -147,7 +147,7 @@ static inline void BT_STACK_DUMP(struct btstack *btstack)
printk("btstack dump:\n");
for (i = 0; i < MAXTREEHEIGHT; i++)
printk(KERN_ERR "bn = %Lx, index = %d\n",
btstack->stack[i].bn,
(long long)btstack->stack[i].bn,
btstack->stack[i].index);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment