commit | 1354379b13f190ae5da21c26836a16ba56566ab3 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Apr 16 02:12:29 2016 +0300 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Fri Apr 29 19:01:34 2016 -0400 |
tree | ad9d15c40db01702375fc7e8867327ec843368e2 | |
parent | 71d397581d52c24c9903d9729aae09828f956801 [diff] |
mptsas: fix checks for dma mapping errors mptsas_smp_handler() 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> Acked-by: Sathya Prakash Veerichetty <sathya.prakash@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>