commit | 5173cb814b36439a9d9537016965e75798b9f130 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Mar 19 01:35:54 2016 +0300 |
committer | Jens Axboe <axboe@fb.com> | Fri Mar 18 18:10:59 2016 -0700 |
tree | 3c4111bb8f7e0217bf3e29b755f574045ae7571f | |
parent | 29fd20b8e68a4d31a82909265b1e650b7b860f54 [diff] |
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: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Jens Axboe <axboe@fb.com>