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

Maxime Ripard
2020-11-24T10:43:59Z

[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]

On Tue, Nov 24, 2020 at 10:18:04AM +0100, Christoph Hellwig wrote:
> On Tue, Nov 24, 2020 at 09:31:15AM +1100, Stephen Rothwell wrote:
> > Hi all,
> >
> > After merging the arm-soc tree, today's linux-next build (arm
> > multi_v7_defconfig) failed like this:
> >
> > drivers/soc/sunxi/sunxi_mbus.c: In function 'sunxi_mbus_notifier':
> > drivers/soc/sunxi/sunxi_mbus.c:93:8: error: implicit declaration of function 'dma_direct_set_offset' [-Werror=implicit-function-declaration]
> > 93 | ret = dma_direct_set_offset(dev, PHYS_OFFSET, 0, SZ_4G);
> > | ^~~~~~~~~~~~~~~~~~~~~
> >
> > Caused by commit
> >
> > b4bdc4fbf8d0 ("soc: sunxi: Deal with the MBUS DMA offsets in a central place")
> >
> > probably interacting with commit
> >
> > 16fee29b0735 ("dma-mapping: remove the dma_direct_set_offset export")
> >
> > which is also in the arm-soc tree ...
>
> drivers/soc/sunxi/sunxi_mbus.c now needs an include of <linux/dma-map-ops.h>.

I just sent a patch doing so

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]