Skip to contentSkip to conversation

stable-rc build: 3 warnings 0 failures (stable-rc/v4.4.89-42-g255b4a0)

DISCUSSION Arnd Bergmann 2 participants 2 messages Oct 4, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · Olof's autobuilder

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.

Arnd

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw
Quoted 11 lines · Arnd Bergmann
Quoted 6 lines · Olof's autobuilder

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.

Quoted 6 lines

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

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel