[PATCH 1/4] lmb: Fix compile warning

David Miller davem at davemloft.net
Mon May 19 13:31:16 EST 2008

From: Kumar Gala <galak at kernel.crashing.org>
Date: Sun, 18 May 2008 13:44:53 -0500

> lib/lmb.c: In function 'lmb_dump_all':
> lib/lmb.c:51: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'u64'
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>

That's not right either.

We'll need to cast this argument because it's a different type on sparc
vs sparc64 vs powerpc.

u64 != unsigned long long

More information about the Linuxppc-dev mailing list