Re: randconfig build error with next-20140512, in mm/slub.c

Pekka Enberg
2014-05-12T18:54:04Z

On 05/12/2014 09:47 PM, Christoph Lameter wrote:
> A patch was posted today for this issue.

AFAICT, it's coming from -mm. Andrew, can you pick up the fix?

> Date: Mon, 12 May 2014 09:36:30 -0300
> From: Fabio Estevam <fabio.estevam@freescale.com>
> To: akpm@linux-foundation.org
> Cc: linux-mm@kvack.org, festevam@gmail.com, Fabio Estevam
> <fabio.estevam@freescale.com>, Christoph Lameter <cl@linux.com>, David Rientjes <rientjes@google.com>, Pekka Enberg <penberg@kernel.org>
> 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
> >