Commit 5f0325ab authored by Matt Gates's avatar Matt Gates Committed by James Bottomley
Browse files

[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: default avatarMatt Gates <>
Signed-off-by: default avatarStephen M. Cameron <>
Signed-off-by: default avatarJames Bottomley <>
parent 339b2b14
......@@ -1128,7 +1128,7 @@ static void complete_scsi_command(struct CommandList *cp,
dev_warn(&h->pdev->dev, "cp %p reports abort failed\n", cp);
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);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment