On Wed, Oct 04, 2017 at 03:49:30PM +0200, Arnd Bergmann wrote:
On Wed, Oct 4, 2017 at 10:41 AM, Olof's autobuilder build@lixom.net wrote:
Warnings:
1 arm/xen/mm.c:202:2: warning: initialization from incompatible pointer type 1 arm/xen/mm.c:202:2: warning: (near initialization for 'xen_swiotlb_dma_ops.mmap') 1 drivers/xen/swiotlb-xen.c:697:27: warning: passing argument 6 of '__generic_dma_ops(dev)->mmap' makes pointer from integer without a cast
This is caused by backporting 2f0b82b1b830 ("swiotlb-xen: implement xen_swiotlb_dma_mmap callback") into stable-rc/4.4.
The ->mmap() callback signature changed in linux-4.8 as of commit 00085f1efa38 ("dma-mapping: use unsigned long for dma_attrs"), so all older kernels are affected.
Please drop the backport patch from 4.4 and 3.18, or apply the trivial fixup that I'll send in a bit.
Many thanks for the fixup, I've queued that up now for both trees.
greg k-h