Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181333
b: refs/heads/master
c: 1d3b360
h: refs/heads/master
i:
  181331: 2f6a1ce
v: v3
  • Loading branch information
Matt Gates authored and James Bottomley committed Feb 17, 2010
1 parent 5aa237f commit 9c644ba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5f0325ab280e92c023a5610dae4a6afb6c1ef151
refs/heads/master: 1d3b36090551a31b8b8c4ba972aac95eaa8f77dd
11 changes: 9 additions & 2 deletions trunk/drivers/scsi/hpsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -1037,8 +1037,15 @@ static void complete_scsi_command(struct CommandList *cp,
break;
}
}


if (sense_key == ABORTED_COMMAND) {
/* Aborted command is retryable */
dev_warn(&h->pdev->dev, "cp %p "
"has check condition: aborted command: "
"ASC: 0x%x, ASCQ: 0x%x\n",
cp, asc, ascq);
cmd->result = DID_SOFT_ERROR << 16;
break;
}
/* Must be some other type of check condition */
dev_warn(&h->pdev->dev, "cp %p has check condition: "
"unknown type: "
Expand Down

0 comments on commit 9c644ba

Please sign in to comment.