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

From: David Hildenbrand
Date: Thu Jun 20 2019 - 06:23:07 EST


On 20.06.19 11:42, Stephen Rothwell wrote:
> 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);
> ^~~~
> uint
> 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.
>
Uh, how did that happen. "hint" -> "NULL". But we can drop the hint
completely. Will send a new patch. Grml.

Sorry for the noise.

--

Thanks,

David / dhildenb