Messages in this thread | | | Date | Wed, 13 Jul 2011 11:07:17 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [PATCH next/mmotm] slab: fix DEBUG_SLAB build |
| |
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.
| |