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

From: Stephen Rothwell
Date: Fri Mar 02 2018 - 00:07:54 EST


Hi Petr,

After merging the printk tree, today's linux-next build (bfin
BF518F-EZBRD_defconfig) failed like this:

lib/dump_stack.o: In function `dump_stack':
lib/dump_stack.c:122: multiple definition of `dump_stack'
arch/blackfin/kernel/dumpstack.o:arch/blackfin/kernel/dumpstack.c:166: first defined here

Presumably caused by commit

8040af489957 ("printk: move dump stack related code to lib/dump_stack.c")

(Though it is not immediately obvious why.)

This fails all the blackfin builds. nds32 (a new architecture) also
has a dump_stack function.

--
Cheers,
Stephen Rothwell

Attachment: pgpxHtP0EvYpg.pgp
Description: OpenPGP digital signature