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

Maxime Ripard maxime at cerno.tech
Tue Nov 24 05:43:32 EST 2020


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201124/8fda56cd/attachment.sig>


More information about the linux-arm-kernel mailing list