From: Matt Gates Date: Thu, 4 Feb 2010 14:42:55 +0000 (-0600) Subject: [SCSI] hpsa: Return DID_RESET for commands which complete with status of UNSOLICITED... X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5f0325ab280e92c023a5610dae4a6afb6c1ef151;p=mv-sheeva.git [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 Signed-off-by: Stephen M. Cameron Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index cc9e92a3be2..bcc51f9d390 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -1128,7 +1128,7 @@ static void complete_scsi_command(struct CommandList *cp, dev_warn(&h->pdev->dev, "cp %p reports abort failed\n", cp); break; case CMD_UNSOLICITED_ABORT: - cmd->result = DID_ABORT << 16; + cmd->result = DID_RESET << 16; dev_warn(&h->pdev->dev, "cp %p aborted do to an unsolicited " "abort\n", cp); break;