Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21839
b: refs/heads/master
c: 06ab782
h: refs/heads/master
i:
  21837: 4e161fe
  21835: 3b2ccb7
  21831: 3dbade6
  21823: 453bb2d
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Feb 12, 2006
1 parent e455201 commit 03e0b7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: bef4a456b8dc8b3638f4d49a25a89e1467da9483
refs/heads/master: 06ab78222bd119a0a3d8a1f89997ce902a219703
5 changes: 4 additions & 1 deletion trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1142,8 +1142,11 @@ static int ata_bus_probe(struct ata_port *ap)

rc = ap->ops->probe_reset(ap, classes);
if (rc == 0) {
for (i = 0; i < ATA_MAX_DEVICES; i++)
for (i = 0; i < ATA_MAX_DEVICES; i++) {
if (classes[i] == ATA_DEV_UNKNOWN)
classes[i] = ATA_DEV_NONE;
ap->device[i].class = classes[i];
}
} else {
printk(KERN_ERR "ata%u: probe reset failed, "
"disabling port\n", ap->id);
Expand Down

0 comments on commit 03e0b7b

Please sign in to comment.