linux/arch/powerpc/include
Christoph Hellwig 9b18114c0b powerpc/dma: fix an off-by-one in dma_capable
We need to compare the last byte in the dma range and not the one after it
for the bus_dma_mask, just like we do for the regular dma_mask.  Fix this
cleanly by merging the two comparisms into one.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2019-02-18 22:41:03 +11:00
..
asm powerpc/dma: fix an off-by-one in dma_capable 2019-02-18 22:41:03 +11:00
uapi/asm arch: remove redundant UAPI generic-y defines 2019-01-06 10:22:15 +09:00