Re: [PATCH] irda: vlsi_ir: fix check for dma mapping errors

From: David Miller
Date: Sat Mar 25 2017 - 23:24:27 EST


From: Alexey Khoroshilov <khoroshilov@xxxxxxxxx>
Date: Sat, 25 Mar 2017 01:48:08 +0300

> vlsi_alloc_ring() checks for dma mapping errors by comparison
> returned address with zero, while pci_dma_mapping_error() should be used.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@xxxxxxxxx>

Applied.