aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/libata-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 479f95a5c0a3..25d8d3f778a1 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -1597,10 +1597,10 @@ int ata_dev_configure(struct ata_device *dev)
1597 dev->n_sectors = ata_id_n_sectors(id); 1597 dev->n_sectors = ata_id_n_sectors(id);
1598 1598
1599 /* SCSI only uses 4-char revisions, dump full 8 chars from ATA */ 1599 /* SCSI only uses 4-char revisions, dump full 8 chars from ATA */
1600 ata_id_c_string(dev->id, fwrevbuf, ATA_ID_FW_REV_OFS, 1600 ata_id_c_string(dev->id, fwrevbuf, ATA_ID_FW_REV,
1601 sizeof(fwrevbuf)); 1601 sizeof(fwrevbuf));
1602 1602
1603 ata_id_c_string(dev->id, modelbuf, ATA_ID_PROD_OFS, 1603 ata_id_c_string(dev->id, modelbuf, ATA_ID_PROD,
1604 sizeof(modelbuf)); 1604 sizeof(modelbuf));
1605 1605
1606 if (dev->id[59] & 0x100) 1606 if (dev->id[59] & 0x100)