# Re: \[PATCH 11/33\] dma-mapping: move swiotlb arch helpers to a new header

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2018-01-10 15:22:22 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2018/01/5177123
- Thread: https://ratatoskr.run/linux-sh/2018/01/5176758/t.md

```text
On Wed, Jan 10, 2018 at 09:31:45AM +0000, Vladimir Murzin wrote:
> I know it is copy&paste, but it seems it has off by one error and it should be
> 
> return addr + size - 1 <= *dev->dma_mask;

I've added a new patch to fix the mips dma_capable() definition,
thanks.
```
