]> err.no Git - linux-2.6/commitdiff
ahci: fix endianness in spurious interrupt message
authorTejun Heo <htejun@gmail.com>
Fri, 26 Jan 2007 05:47:38 +0000 (14:47 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 26 Jan 2007 22:24:07 +0000 (17:24 -0500)
Fix endianness in spurious interrupt message.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c

index 2fe5a58195dedf48b7f759cdb697e3c6c776f5d4..d8f0ce970d545442f4f93dbeed90e68fe652defa 100644 (file)
@@ -1178,7 +1178,8 @@ static void ahci_host_intr(struct ata_port *ap)
                ata_port_printk(ap, KERN_INFO, "Spurious SDB FIS during NCQ "
                                "issue=0x%x SAct=0x%x FIS=%08x:%08x%s\n",
                                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 ?
                                "" : ", shutting up");