lkml.org 
[lkml]   [2011]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.





\
 
 \ /
  Last update: 2011-07-13 18:09    [W:0.052 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site