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

From: Marek Szyprowski
Date: Tue May 12 2020 - 09:19:27 EST


Hi Christoph,

On 12.05.2020 15:09, Christoph Hellwig wrote:
> 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.
Fine for me.

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland