]> asedeno.scripts.mit.edu Git - linux.git/commit
mips: fix an off-by-one in dma_capable
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Jan 2018 15:19:47 +0000 (16:19 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 10 Jan 2018 15:25:24 +0000 (16:25 +0100)
commit10dac04c79b181b255a62f60919f29acc56277ac
tree40bd6e1ed4bebc448a91fa1878614621b8f0c59d
parent298f0027d5452c171dc9e7caccbd00e36056aaa3
mips: fix an off-by-one in dma_capable

This makes it match the generic version.

Reported-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/mips/include/asm/dma-mapping.h