diff options
author | Tejun Heo <htejun@gmail.com> | 2007-01-26 00:47:38 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-01-26 17:24:07 -0500 |
commit | 6096b63e2584796341baf7e7735f98d387f489f2 (patch) | |
tree | b8595dbc564b166b9594c0082682b1ca27f4e828 /drivers | |
parent | 61dd08c6c8d2b4ede530e43c01fa72f789ef65b1 (diff) |
ahci: fix endianness in spurious interrupt message
Fix endianness in spurious interrupt message.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/ahci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 2fe5a58195de..d8f0ce970d54 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c | |||
@@ -1178,7 +1178,8 @@ static void ahci_host_intr(struct ata_port *ap) | |||
1178 | ata_port_printk(ap, KERN_INFO, "Spurious SDB FIS during NCQ " | 1178 | ata_port_printk(ap, KERN_INFO, "Spurious SDB FIS during NCQ " |
1179 | "issue=0x%x SAct=0x%x FIS=%08x:%08x%s\n", | 1179 | "issue=0x%x SAct=0x%x FIS=%08x:%08x%s\n", |
1180 | readl(port_mmio + PORT_CMD_ISSUE), | 1180 | readl(port_mmio + PORT_CMD_ISSUE), |
1181 | readl(port_mmio + PORT_SCR_ACT), f[0], f[1], | 1181 | readl(port_mmio + PORT_SCR_ACT), |
1182 | le32_to_cpu(f[0]), le32_to_cpu(f[1]), | ||
1182 | pp->ncq_saw_spurious_sdb_cnt < 10 ? | 1183 | pp->ncq_saw_spurious_sdb_cnt < 10 ? |
1183 | "" : ", shutting up"); | 1184 | "" : ", shutting up"); |
1184 | 1185 | ||