On 08/03/2012 11:21 PM, Christoph Lameter wrote: > Do the initial settings of the fields in common code. This will allow > us to push more processing into common code later and improve readability. > > Signed-off-by: Christoph Lameter <cl@xxxxxxxxx> Doesn't compile. Log attached
make[1]: Nothing to be done for `all'. make[1]: Nothing to be done for `relocs'. CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CC mm/slub.o mm/slub.c: In function ‘create_kmalloc_cache’: mm/slub.c:3231:9: warning: passing argument 2 of ‘kmem_cache_open’ makes integer from pointer without a cast [enabled by default] mm/slub.c:3001:12: note: expected ‘long unsigned int’ but argument is of type ‘const char *’ mm/slub.c:3231:9: error: too many arguments to function ‘kmem_cache_open’ mm/slub.c:3001:12: note: declared here mm/slub.c: In function ‘kmem_cache_init’: mm/slub.c:3686:3: warning: passing argument 2 of ‘kmem_cache_open’ makes integer from pointer without a cast [enabled by default] mm/slub.c:3001:12: note: expected ‘long unsigned int’ but argument is of type ‘char *’ mm/slub.c:3686:3: error: too many arguments to function ‘kmem_cache_open’ mm/slub.c:3001:12: note: declared here mm/slub.c:3695:3: warning: passing argument 2 of ‘kmem_cache_open’ makes integer from pointer without a cast [enabled by default] mm/slub.c:3001:12: note: expected ‘long unsigned int’ but argument is of type ‘char *’ mm/slub.c:3695:3: error: too many arguments to function ‘kmem_cache_open’ mm/slub.c:3001:12: note: declared here make[1]: *** [mm/slub.o] Error 1 make: *** [mm] Error 2