Re: [PATCH] Trace: add __print_symbolic_u64 to avoid warnings on32bit machine
From: Christoph Hellwig
Date: Fri Apr 15 2011 - 12:37:56 EST
On Fri, Apr 15, 2011 at 09:24:18AM -0700, Randy Dunlap wrote:
> Can this also be used to stop this warning that has been around
> like forever (on i386)?
> linux-next-20110415/fs/xfs/linux-2.6/./xfs_trace.h:1354: warning: format '%llx' expects type 'long long unsigned int', but argument 22 has type 'xfs_fsblock_t'
What about reporting the bug? And no, it won't help. The only
thing that helps would be casting the argument to (long long). If you
send me (and/or the xfs list) a list of the warnings you see I'm happy
to fix them, although I don't see them during my x86 builds. Could it
be that you have CONFIG_LBD disabled? That's surely not a popular
option with XFS users.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/