linux-next: build failure after merge of the akpm-current tree
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);
^~~~
uintdrivers/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.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 15 lines · Stephen Rothwell
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 indrivers/base/memory.c:622:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Quoted 6 lines
Caused by commit
29be27f12cc8("drivers/base/memory.c: Get rid offind_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.
Signature · 3 lines
Thanks, David / dhildenb