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

From: Stephen Rothwell <[email-masked]>
Date: Wed, 1 May 2024 15:28:46 +1000

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