diff options
-rw-r--r-- | drivers/scsi/hpsa.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index bcc51f9d3903..d07b3d3f11a4 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -1037,8 +1037,15 @@ static void complete_scsi_command(struct CommandList *cp, | |||
1037 | break; | 1037 | break; |
1038 | } | 1038 | } |
1039 | } | 1039 | } |
1040 | 1040 | if (sense_key == ABORTED_COMMAND) { | |
1041 | 1041 | /* Aborted command is retryable */ | |
1042 | dev_warn(&h->pdev->dev, "cp %p " | ||
1043 | "has check condition: aborted command: " | ||
1044 | "ASC: 0x%x, ASCQ: 0x%x\n", | ||
1045 | cp, asc, ascq); | ||
1046 | cmd->result = DID_SOFT_ERROR << 16; | ||
1047 | break; | ||
1048 | } | ||
1042 | /* Must be some other type of check condition */ | 1049 | /* Must be some other type of check condition */ |
1043 | dev_warn(&h->pdev->dev, "cp %p has check condition: " | 1050 | dev_warn(&h->pdev->dev, "cp %p has check condition: " |
1044 | "unknown type: " | 1051 | "unknown type: " |