Re: new SBus related DMA warnings in 4.18+git

Meelis Roos
2018-08-28T10:30:50Z

> Based on the other thread here is a new attempt:

CC arch/sparc/kernel/of_device_64.o
arch/sparc/kernel/of_device_64.c: In function ‘scan_one_device’:
arch/sparc/kernel/of_device_64.c:678:2: error: implicit declaration of function ‘DMA_BIT_MASK’ [-Werror=implicit-function-declaration]
op->dev.coherent_dma_mask = DMA_BIT_MASK(32);
^
arch/sparc/kernel/of_device_64.c:679:24: error: ‘struct platform_device’ has no member named ‘dma_mask’
op->dev.dma_mask = &op->dma_mask;
^
arch/sparc/kernel/of_device_64.c:680:4: error: ‘struct platform_device’ has no member named ‘dma_mask’
op->dma_mask = DMA_BIT_MASK(32);
^
cc1: all warnings being treated as errors
scripts/Makefile.build:307: recipe for target 'arch/sparc/kernel/of_device_64.o' failed

--
Meelis Roos (mroos@linux.ee)
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org