Re: [PATCH net-next v2] wan: dscc4: add checks for dma mapping errors

From: Andy Shevchenko
Date: Wed Aug 09 2017 - 06:45:56 EST


On Tue, Aug 8, 2017 at 10:28 PM, Alexey Khoroshilov
<khoroshilov@xxxxxxxxx> wrote:
> The driver does not check if mapping dma memory succeed.
> The patch adds the checks and failure handling.
>
> Found by Linux Driver Verification project (linuxtesting.org).

Since it is going to be v3, just to mention that IIRC we better not to
use PCI DMA mapping API in favour of generic DMA mapping API.
Can you please double check this?


--
With Best Regards,
Andy Shevchenko