Re: linux-next: build failure after merge of the slab tree

From: Vlastimil Babka
Date: Wed May 01 2024 - 11:34:45 EST


On 5/1/24 7:28 AM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the slab tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> mm/slub.c: In function 'slab_free_hook':
> mm/slub.c:2187:25: error: implicit declaration of function 'get_info_end' [-Werror=implicit-function-declaration]
> 2187 | inuse = get_info_end(s);
> | ^~~~~~~~~~~~
> mm/slub.c: In function 'maybe_wipe_obj_freeptr':
> mm/slub.c:3872:14: error: implicit declaration of function 'freeptr_outside_object' [-Werror=implicit-function-declaration]
> 3872 | !freeptr_outside_object(s))
> | ^~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
>
> Caused by commit
>
> 7f39e23ed8dd ("mm/slub: avoid zeroing outside-object freepointer for single free")

Sorry, should be fixed now. Thanks.

> $ grep CONFIG_SLUB_DEBUG .config
> $
>
> I have used the slab tree from next-20240430 for today.
>