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

David Hildenbrand
2019-06-20T10:17:48Z

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