summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Skirvin2011-09-29 03:47:51 +0200
committerJames Bottomley2011-10-02 20:21:51 +0200
commit7582ba8bdf5a119221ef663a327932cfc62bed79 (patch)
tree5340e2bc0f7d6c7c55978948a9aa2109ba750872
parent[SCSI] isci: SATA/STP I/O is only returned in the normal path to libsas (diff)
downloadkernel-qcow2-linux-7582ba8bdf5a119221ef663a327932cfc62bed79.tar.gz
kernel-qcow2-linux-7582ba8bdf5a119221ef663a327932cfc62bed79.tar.xz
kernel-qcow2-linux-7582ba8bdf5a119221ef663a327932cfc62bed79.zip
[SCSI] isci: fix decode of DONE_CRC_ERR TC completion status
DONE_CRC_ERR is not a RNC suspension condition, so do not change the state to expect the incoming suspension notification. Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com> [djbw: dropped DONE_CMD_LL_R_ERR change] Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/isci/request.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/isci/request.c b/drivers/scsi/isci/request.c
index 23a55043a923..565a9f0a9bc2 100644
--- a/drivers/scsi/isci/request.c
+++ b/drivers/scsi/isci/request.c
@@ -2074,10 +2074,9 @@ static enum sci_status stp_request_udma_await_tc_event(struct isci_request *ireq
case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_MAX_PLD_ERR):
case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_LL_R_ERR):
case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_CMD_LL_R_ERR):
- case SCU_MAKE_COMPLETION_STATUS(SCU_TASK_DONE_CRC_ERR):
sci_remote_device_suspend(ireq->target_device,
SCU_EVENT_SPECIFIC(SCU_NORMALIZE_COMPLETION_STATUS(completion_code)));
- /* Fall through to the default case */
+ /* Fall through to the default case */
default:
/* All other completion status cause the IO to be complete. */
ireq->scu_status = SCU_NORMALIZE_COMPLETION_STATUS(completion_code);