# Re: \[PATCH v4 01/38\] dma-mapping: add generic helpers for mapping sgtable objects

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2020-05-12 13:09:41 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2020/05/5962305
- Thread: https://ratatoskr.run/linux-arm-kernel/2020/05/5962025/t.md

```text
On Tue, May 12, 2020 at 03:00:31PM +0200, Marek Szyprowski wrote:
> > 	if (n <= 0)
> > 		return -EINVAL;
> > 	sgt->nents = n;
> > 	return 0;
> >
> Indeed this version looks much better. I will resend it in a few minutes.

I could also just fix it up when applying the patch.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
