Re: new SBus related DMA warnings in 4.18+git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxx)



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux