Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24794
b: refs/heads/master
c: 692785e
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Jeff Garzik committed Mar 30, 2006
1 parent f09e3f2 commit d59afc0
Show file tree
Hide file tree
Showing 2 changed files with 2 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: e35a9e01f2a504871e70576a9e11dbe4d8dee456
refs/heads/master: 692785e798f341c057ff976c35a3d86ad5af8ac6
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ static int ata_dev_read_id(struct ata_port *ap, struct ata_device *dev,
swap_buf_le16(id, ATA_ID_WORDS);

/* sanity check */
if ((class == ATA_DEV_ATA) != ata_id_is_ata(id)) {
if ((class == ATA_DEV_ATA) != (ata_id_is_ata(id) | ata_id_is_cfa(id))) {
rc = -EINVAL;
reason = "device reports illegal type";
goto err_out;
Expand Down

0 comments on commit d59afc0

Please sign in to comment.