A patch was posted today for this issue. Date: Mon, 12 May 2014 09:36:30 -0300 From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx> To: akpm@xxxxxxxxxxxxxxxxxxxx Cc: linux-mm@xxxxxxxxx, festevam@xxxxxxxxx, Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>, Christoph Lameter <cl@xxxxxxxxx>, David Rientjes <rientjes@xxxxxxxxxx>, Pekka Enberg <penberg@xxxxxxxxxx> Subject: [PATCH] mm: slub: Place count_partial() outside CONFIG_SLUB_DEBUG if block On Mon, 12 May 2014, Jim Davis wrote: > Building with the attached random configuration file, > > mm/slub.c: In function ʽshow_slab_objectsʼ: > mm/slub.c:4361:5: error: implicit declaration of function ʽcount_partialʼ [-Werr > or=implicit-function-declaration] > x = count_partial(n, count_total); > ^ > cc1: some warnings being treated as errors > make[1]: *** [mm/slub.o] Error 1 >