linux-hardened/drivers/message/fusion
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
..
lsi SCSI updates for post 3.2 merge window 2012-01-10 10:36:08 -08:00
Kconfig scsi: use 'depends' instead of 'select' for SCSI_FC_ATTRS 2014-09-16 16:55:55 -04:00
Makefile message: change to new flag variable 2011-03-17 14:05:34 +01:00
mptbase.c mptbase: fixup error handling paths in mpt_attach() 2016-02-23 21:27:02 -05:00
mptbase.h fusion: remove dead MTRR code 2015-06-13 08:44:14 -07:00
mptctl.c mptfusion: don't allow negative bytes in kbuf_alloc_2_sgl() 2015-11-11 20:58:06 -05:00
mptctl.h
mptdebug.h
mptfc.c mptfusion: remove redundant kfree checks 2014-07-25 17:16:57 -04:00
mptlan.c [SCSI] mptfusion: Extra debug prints added relavent to Device missing delay error handling 2010-07-28 09:07:47 -05:00
mptlan.h tokenring: delete all remaining driver support 2012-05-15 20:23:16 -04:00
mptsas.c mptsas: fix checks for dma mapping errors 2016-04-29 19:01:34 -04:00
mptsas.h mptfusion: combine fw_event_work and its event_data 2014-07-25 17:16:58 -04:00
mptscsih.c scsi: drop reason argument from ->change_queue_depth 2014-11-24 14:45:27 +01:00
mptscsih.h scsi: drop reason argument from ->change_queue_depth 2014-11-24 14:45:27 +01:00
mptspi.c scsi: disable automatic target scan 2016-04-11 16:57:09 -04:00