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

From: Christoph Hellwig
Date: Tue May 12 2020 - 09:09:41 EST


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.