Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269318
b: refs/heads/master
c: e8411fb
h: refs/heads/master
v: v3
  • Loading branch information
Sergei Shtylyov authored and Jeff Garzik committed Oct 8, 2011
1 parent a9e5aaa commit cc0f74b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: fc8cc1d5b192b829b39ca534e6273a05f10cee79
refs/heads/master: e8411fbad67a6fe3f989cf6391df7c72bf4a1f9e
5 changes: 2 additions & 3 deletions trunk/drivers/ata/libata-eh.c
Original file line number Diff line number Diff line change
Expand Up @@ -2532,8 +2532,7 @@ static int ata_do_reset(struct ata_link *link, ata_reset_fn_t reset,
return reset(link, classes, deadline);
}

static int ata_eh_followup_srst_needed(struct ata_link *link,
int rc, const unsigned int *classes)
static int ata_eh_followup_srst_needed(struct ata_link *link, int rc)
{
if ((link->flags & ATA_LFLAG_NO_SRST) || ata_link_offline(link))
return 0;
Expand Down Expand Up @@ -2726,7 +2725,7 @@ int ata_eh_reset(struct ata_link *link, int classify,

/* perform follow-up SRST if necessary */
if (reset == hardreset &&
ata_eh_followup_srst_needed(link, rc, classes)) {
ata_eh_followup_srst_needed(link, rc)) {
reset = softreset;

if (!reset) {
Expand Down

0 comments on commit cc0f74b

Please sign in to comment.