aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorMatt Gates <matthew.gates@hp.com>2010-02-04 09:42:55 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-02-17 14:21:17 -0500
commit5f0325ab280e92c023a5610dae4a6afb6c1ef151 (patch)
tree2faf7197b20d006f32633a81289fb6af31ab9342 /drivers/scsi/hpsa.c
parent339b2b14c634da58626eb742370d915591c2fb6d (diff)
[SCSI] hpsa: Return DID_RESET for commands which complete with status of UNSOLICITED ABORT
The commands should be retried, and this will make that happen, instead of resulting in an i/o error. Signed-off-by: Matt Gates <matthew.gates@hp.com> Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r--drivers/scsi/hpsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index cc9e92a3be22..bcc51f9d3903 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -1128,7 +1128,7 @@ static void complete_scsi_command(struct CommandList *cp,
1128 dev_warn(&h->pdev->dev, "cp %p reports abort failed\n", cp); 1128 dev_warn(&h->pdev->dev, "cp %p reports abort failed\n", cp);
1129 break; 1129 break;
1130 case CMD_UNSOLICITED_ABORT: 1130 case CMD_UNSOLICITED_ABORT:
1131 cmd->result = DID_ABORT << 16; 1131 cmd->result = DID_RESET << 16;
1132 dev_warn(&h->pdev->dev, "cp %p aborted do to an unsolicited " 1132 dev_warn(&h->pdev->dev, "cp %p aborted do to an unsolicited "
1133 "abort\n", cp); 1133 "abort\n", cp);
1134 break; 1134 break;