linux-next: build failure after merge of the akpm-current tree

From: Stephen Rothwell
Date: Fri Jun 26 2020 - 03:06:10 EST


Hi all,

After merging the akpm-current tree, today's linux-next build (sparc
defconfig) failed like this:

mm/slab.c: In function '___cache_free':
mm/slab.c:3471:2: error: implicit declaration of function '__free_one'; did you mean '__free_page'? [-Werror=implicit-function-declaration]
__free_one(ac, objp);
^~~~~~~~~~
__free_page


Caused by commit

1420b22124be ("mm/slab: add naive detection of double free")

__free_one() is ony defined when CONFIG_NUMA is set but used more
generally.

I have reverted that commit for today.

--
Cheers,
Stephen Rothwell

Attachment: pgp69jeI25yME.pgp
Description: OpenPGP digital signature