Re: m68k build failures in -next: undefined reference to `arch_dma_prep_coherent'

From: Geert Uytterhoeven
Date: Mon Jul 08 2019 - 16:40:45 EST


Hi Christoph,

On Mon, Jul 8, 2019 at 10:38 PM Christoph Hellwig <hch@xxxxxx> wrote:
> On Mon, Jul 08, 2019 at 10:37:33PM +0200, Christoph Hellwig wrote:
> > On Mon, Jul 08, 2019 at 10:36:05PM +0200, Geert Uytterhoeven wrote:
> > > Note that the build failure is more subtle: both m5307c3_defconfig and
> > > m5475evb_defconfig build fine in m68k/for-linus, but fail in
> > > next-20190708. So it fails when combined with other changes, going
> > > in through a different tree (the DMA tree?).
> >
> > Yes, the dma tree adds the stub for the symbol and adds code relying
> > on that.
>
> If you give me an ack I can add the fix to the dma-mapping pull request.

Thanks, done.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds