Commit 6096b63e authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik

ahci: fix endianness in spurious interrupt message

Fix endianness in spurious interrupt message.
Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 61dd08c6
...@@ -1178,7 +1178,8 @@ static void ahci_host_intr(struct ata_port *ap) ...@@ -1178,7 +1178,8 @@ static void ahci_host_intr(struct ata_port *ap)
ata_port_printk(ap, KERN_INFO, "Spurious SDB FIS during NCQ " ata_port_printk(ap, KERN_INFO, "Spurious SDB FIS during NCQ "
"issue=0x%x SAct=0x%x FIS=%08x:%08x%s\n", "issue=0x%x SAct=0x%x FIS=%08x:%08x%s\n",
readl(port_mmio + PORT_CMD_ISSUE), readl(port_mmio + PORT_CMD_ISSUE),
readl(port_mmio + PORT_SCR_ACT), f[0], f[1], readl(port_mmio + PORT_SCR_ACT),
le32_to_cpu(f[0]), le32_to_cpu(f[1]),
pp->ncq_saw_spurious_sdb_cnt < 10 ? pp->ncq_saw_spurious_sdb_cnt < 10 ?
"" : ", shutting up"); "" : ", shutting up");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment