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

From: Stephen Rothwell
Date: Tue Feb 26 2019 - 02:39:24 EST


Hi Andrew,

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

/home/sfr/next/next/arch/powerpc/kernel/setup_32.c:176:21: error: redefinition of 'alloc_stack'
static void *__init alloc_stack(void)
^~~~~~~~~~~
/home/sfr/next/next/arch/powerpc/kernel/setup_32.c:165:21: note: previous definition of 'alloc_stack' was here
static void *__init alloc_stack(void)
^~~~~~~~~~~

Caused by patch

"powerpc: use memblock functions returning virtual address"

from the akpm tree interacting with commit

c8e409a33cf8 ("powerpc/irq: use memblock functions returning virtual address")

from the powerpc tree.

Both patches added the alloc_stack() function and git resolved it by
adding both. :-( I have added a patch to remove one of them.



--
Cheers,
Stephen Rothwell

Attachment: pgpjd4J3zg0y7.pgp
Description: OpenPGP digital signature