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

Christoph Hellwig hch at lst.de
Tue May 12 13:09:36 UTC 2020


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.


More information about the iommu mailing list