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

From: Stephen Rothwell <[email-masked]>
Date: Fri, 25 Nov 2022 12:49:34 +1100

Hi all,

After merging the slab tree, today's linux-next build (x86_64
allmodconfig) failed like this:

mm/slub.c:965:13: error: 'freelist_corrupted' defined but not used [-Werror=unused-function]
  965 | static bool freelist_corrupted(struct kmem_cache *s, struct slab *slab,
      |             ^~~~~~~~~~~~~~~~~~

Caused by commit

  f6e94ad44e77 ("mm, slub: remove percpu slabs with CONFIG_SLUB_TINY")

I have used the slab tree from next-20221123 again.

-- 
Cheers,
Stephen Rothwell