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

From: Konrad Rzeszutek Wilk
Date: Tue Jan 03 2017 - 19:11:59 EST


On Wed, Jan 04, 2017 at 10:57:49AM +1100, Stephen Rothwell wrote:
> 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 ...

Duh!

Fixed it up and pushed the fix in. Thanks!
>
> I have used the swiotlb tree from next-20170103 for today.
>
> --
> Cheers,
> Stephen Rothwell