aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-02-13 08:01:21 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2019-02-18 22:41:03 +1100
commit9b18114c0be0193ebe772e45b3731602f056d54e (patch)
tree9bde6e9eed69e9a34714af83075687f9944f2c0c /arch/powerpc/Kconfig
parentpowerpc/dma: remove max_direct_dma_addr (diff)
downloadlinux-dev-9b18114c0be0193ebe772e45b3731602f056d54e.tar.xz
linux-dev-9b18114c0be0193ebe772e45b3731602f056d54e.zip
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>
Diffstat (limited to 'arch/powerpc/Kconfig')
0 files changed, 0 insertions, 0 deletions