Skip to content
Commit 5173cb81 authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Jens Axboe
Browse files

mtip32xx: fix checks for dma mapping errors



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).

Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 29fd20b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment