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

Christoph Lameter
2014-05-12T18:47:32Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 859 bytes --]

A patch was posted today for this issue.

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
>