linux/drivers/scsi/pm8001
Viswas G 3b700e3411 pm80xx: Fix for Incorrect DMA Unmapping of SG List
In pm8001_ccb_task_free(), the dma unmapping is done based on
ccb->n_elem value. This should be initialized to zero in the
task_abort(). Otherwise, pm8001_ccb_task_free() will try for
dma_unmap_sg() which is invalid for task abort and can lead to
kernel crash.

Changes From V1:
None

Signed-off-by: Viswas G <Viswas.G@pmcs.com>

Reviewed-by: Suresh Thiagarajan <Suresh.Thiagarajan@pmcs.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
2015-08-26 17:11:01 -07:00
..
Makefile
pm80xx_hwi.c pm80xx: Update For Thermal Page Code 2015-08-26 17:10:48 -07:00
pm80xx_hwi.h pm80xx: Update For Thermal Page Code 2015-08-26 17:10:48 -07:00
pm8001_chips.h
pm8001_ctl.c pm8001: Update nvmd response data to request buffer 2014-09-16 09:09:48 -07:00
pm8001_ctl.h [SCSI] pm80xx: Firmware logging support. 2013-10-25 09:58:16 +01:00
pm8001_defs.h pm80xx: Updated link rate 2015-08-26 17:06:26 -07:00
pm8001_hwi.c pm80xx: Updated link rate 2015-08-26 17:06:26 -07:00
pm8001_hwi.h [SCSI] pm80xx: Resetting the phy state. 2013-12-02 10:35:52 -08:00
pm8001_init.c pm80xx: Added pm8006 controller support 2015-08-12 11:11:14 -07:00
pm8001_sas.c pm80xx: Fix for Incorrect DMA Unmapping of SG List 2015-08-26 17:11:01 -07:00
pm8001_sas.h pm80xx: Corrected device state changes in I_T_Nexus_Reset. 2015-08-26 17:07:39 -07:00