projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11750a4
)
libata: build fix after dmesg probe output changes
author
Jeff Garzik
<jeff@garzik.org>
Wed, 7 Feb 2007 02:08:14 +0000
(21:08 -0500)
committer
Jeff Garzik
<jeff@garzik.org>
Fri, 9 Feb 2007 22:39:40 +0000
(17:39 -0500)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
patch
|
blob
|
history
diff --git
a/drivers/ata/libata-core.c
b/drivers/ata/libata-core.c
index 479f95a5c0a3fd92a0a086c62cfdee21e866f6ad..25d8d3f778a1c980f5537f64648ef69d0d3a911b 100644
(file)
--- a/
drivers/ata/libata-core.c
+++ b/
drivers/ata/libata-core.c
@@
-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)