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

From: Stephen Rothwell
Date: Thu Jun 20 2019 - 05:48:06 EST

Hi all,

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

drivers/base/memory.c: In function 'find_memory_block':
drivers/base/memory.c:621:43: error: 'hint' undeclared (first use in this function); did you mean 'uint'?
return find_memory_block_by_id(block_id, hint);
drivers/base/memory.c:621:43: note: each undeclared identifier is reported only once for each function it appears in
drivers/base/memory.c:622:1: warning: control reaches end of non-void function [-Wreturn-type]

Caused by commit

29be27f12cc8 ("drivers/base/memory.c: Get rid of find_memory_block_hinted()")

I have reverted that commit for today.

Stephen Rothwell

Attachment: pgptc04RhoZmc.pgp
Description: OpenPGP digital signature