Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167643
b: refs/heads/master
c: 4f7c287
h: refs/heads/master
i:
  167641: df2753e
  167639: 5a08e00
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Oct 16, 2009
1 parent c787dcd commit e22958c
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 6489e3262e6b188a1a009b65e8a94b7aa17645b7
refs/heads/master: 4f7c2874995ac48a4622755b8bd159eb2fb6d8f4
6 changes: 4 additions & 2 deletions trunk/drivers/ata/libata-eh.c
Original file line number Diff line number Diff line change
Expand Up @@ -2981,12 +2981,14 @@ static int ata_eh_revalidate_and_attach(struct ata_link *link,
* device detection messages backwards.
*/
ata_for_each_dev(dev, link, ALL) {
if (!(new_mask & (1 << dev->devno)) ||
dev->class == ATA_DEV_PMP)
if (!(new_mask & (1 << dev->devno)))
continue;

dev->class = ehc->classes[dev->devno];

if (dev->class == ATA_DEV_PMP)
continue;

ehc->i.flags |= ATA_EHI_PRINTINFO;
rc = ata_dev_configure(dev);
ehc->i.flags &= ~ATA_EHI_PRINTINFO;
Expand Down

0 comments on commit e22958c

Please sign in to comment.