Re: [PATCH] mtip32xx: fix checks for dma mapping errors

From: Jens Axboe
Date: Sun Mar 20 2016 - 11:47:31 EST


On 03/18/2016 04:35 PM, Alexey Khoroshilov wrote:
exec_drive_taskfile() 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).

Thanks, applied.

--
Jens Axboe