linux-IllusionX/drivers/message
Alexey Khoroshilov 1354379b13 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>
2016-04-29 19:01:34 -04:00
..
fusion mptsas: fix checks for dma mapping errors 2016-04-29 19:01:34 -04:00
Makefile i2o: move to staging 2015-02-03 15:58:39 -08:00