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

From: Stephen Rothwell
Date: Tue Jan 03 2017 - 19:07:46 EST


Hi Konrad,

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

net/bridge/br_input.o: In function `.swiotlb_max_segment':
(.text+0x780): multiple definition of `.swiotlb_max_segment'
net/bridge/br.o:br.c:(.text+0x3c0): first defined here

and many, many more :-(

Caused by commit

f196f1294fd2 ("swiotlb: Export swiotlb_max_segment to users")

Forgotten "static nline" in include/linux/swiotlb.h ...

I have used the swiotlb tree from next-20170103 for today.

--
Cheers,
Stephen Rothwell