Re: [PATCH v2] net: adaptec: starfire: add checks for dma mapping errors

From: David Miller
Date: Sun Jan 29 2017 - 19:16:28 EST


From: Alexey Khoroshilov <khoroshilov@xxxxxxxxx>
Date: Sat, 28 Jan 2017 01:07:30 +0300

> init_ring(), refill_rx_ring() and start_tx() don't check
> if mapping dma memory succeed.
> The patch adds the checks and failure handling.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@xxxxxxxxx>

Applied.