Searched hist:a3a142524aa4b1539a64a55087bf12ffa4b1f94e (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/scsi/ |
H A D | libsas.h | diff a3a142524aa4b1539a64a55087bf12ffa4b1f94e Wed Dec 07 01:24:42 CST 2011 Dan Williams <dan.j.williams@intel.com> [SCSI] libsas: prevent double completion of scmds from eh
We invoke task->task_done() to free the task in the eh case, but at this point we are prepared for scsi_eh_flush_done_q() to finish off the scmd.
Introduce sas_end_task() to capture the final response status from the lldd and free the task.
Also take the opportunity to kill this warning. drivers/scsi/libsas/sas_scsi_host.c: In function ‘sas_end_task’: drivers/scsi/libsas/sas_scsi_host.c:102:3: warning: case value ‘2’ not in enumerated type ‘enum exec_status’ [-Wswitch]
Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_scsi_host.c | diff a3a142524aa4b1539a64a55087bf12ffa4b1f94e Wed Dec 07 01:24:42 CST 2011 Dan Williams <dan.j.williams@intel.com> [SCSI] libsas: prevent double completion of scmds from eh
We invoke task->task_done() to free the task in the eh case, but at this point we are prepared for scsi_eh_flush_done_q() to finish off the scmd.
Introduce sas_end_task() to capture the final response status from the lldd and free the task.
Also take the opportunity to kill this warning. drivers/scsi/libsas/sas_scsi_host.c: In function ‘sas_end_task’: drivers/scsi/libsas/sas_scsi_host.c:102:3: warning: case value ‘2’ not in enumerated type ‘enum exec_status’ [-Wswitch]
Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|