Skip to content

Commit

Permalink
libata: build fix after dmesg probe output changes
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Jeff Garzik committed Feb 9, 2007
1 parent 11750a4 commit 591a6e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1597,10 +1597,10 @@ int ata_dev_configure(struct ata_device *dev)
dev->n_sectors = ata_id_n_sectors(id);

/* SCSI only uses 4-char revisions, dump full 8 chars from ATA */
ata_id_c_string(dev->id, fwrevbuf, ATA_ID_FW_REV_OFS,
ata_id_c_string(dev->id, fwrevbuf, ATA_ID_FW_REV,
sizeof(fwrevbuf));

ata_id_c_string(dev->id, modelbuf, ATA_ID_PROD_OFS,
ata_id_c_string(dev->id, modelbuf, ATA_ID_PROD,
sizeof(modelbuf));

if (dev->id[59] & 0x100)
Expand Down

0 comments on commit 591a6e8

Please sign in to comment.