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

From: Christoph Hellwig <[email-masked]>
Date: Tue, 24 Nov 2020 10:18:04 +0100

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>.

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel