Re: [PATCH next/mmotm] slab: fix DEBUG_SLAB build
From: Christoph Lameter
Date: Wed Jul 13 2011 - 12:07:29 EST
On Wed, 13 Jul 2011, Hugh Dickins wrote:
> Really? Here if I try that on x86_64 with #define ARCH_SLAB_MINALIGN 8, I get
> mm/slab.c: In function `cache_alloc_debugcheck_after':
> mm/slab.c:3160:10: warning: format `%lu' expects type `long unsigned int', but argument 3 has type `int'
Gosh. I thought integers (especially constants) are automatically
converted to the right format. Guess that is not possible here since the
format strings is not always available for checking.
--
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/