Re: [PATCH 1/4] lmb: Fix compile warning

From: David Miller
Date: Sun May 18 2008 - 23:31:43 EST


From: Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx>

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
--
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/