2024-05-01 05:28:59

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the slab tree

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")

$ grep CONFIG_SLUB_DEBUG .config
$

I have used the slab tree from next-20240430 for today.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2024-05-01 15:34:47

by Vlastimil Babka

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the slab tree

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.
>