From: Tim Small Date: Tue, 22 Jul 2014 13:28:00 +0000 (+0100) Subject: sata_sil24: Identify which card suffered IRQ status error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=11838230da18cea5bc26a813b5425fe839248e93;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sata_sil24: Identify which card suffered IRQ status error In machines with multiple Silicon Image 3124 and/or 3132 cards, there is no way to tell which card is the culprit when the sata_sil24 interrupt handler gets a bad status. Tested-by: Tim Small Signed-off-by: Tim Small Signed-off-by: Tejun Heo --- diff --git a/drivers/ata/sata_sil24.c b/drivers/ata/sata_sil24.c index 0534890f118a..d81b20ddb527 100644 --- a/drivers/ata/sata_sil24.c +++ b/drivers/ata/sata_sil24.c @@ -1154,8 +1154,8 @@ static irqreturn_t sil24_interrupt(int irq, void *dev_instance) status = readl(host_base + HOST_IRQ_STAT); if (status == 0xffffffff) { - printk(KERN_ERR DRV_NAME ": IRQ status == 0xffffffff, " - "PCI fault or device removal?\n"); + dev_err(host->dev, "IRQ status == 0xffffffff, " + "PCI fault or device removal?\n"); goto out; }