# Re: \[PATCH 03/44\] dmaengine: ioat: don't use DMA\_ERROR\_CODE

- From: Christoph Hellwig \<hch@infradead.org\>
- Date: 2017-06-18 07:09:34 
- List: netdev
- Page: https://ratatoskr.run/netdev/2017/06/5023551
- Thread: https://ratatoskr.run/linux-arm-kernel/2017/06/5022919/t.md

```text
On Fri, Jun 16, 2017 at 01:40:24PM -0700, Alexander Duyck wrote:
> dma_unmap_page on dest_dma if "op == IOAT_OP_XOR"? Odds are it is what
> the compiler is already generating and will save a few lines of code
> so what you end up with is something like:

Honestly wanted to touch the code as little as possible :)  If we want
to make it prettier and more readable it needs to be refactored.

If you're interested I can take a stab at that, but I'd like to keep
it out of this already giant series.
```
