diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-12-03 23:39:31 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-12-14 09:38:50 -0500 |
commit | 39f80acb9fe5adff216bde33c554e4bf5f6eec12 (patch) | |
tree | e2ea4adb742fa8d5a9e68f97101f2ee33e3fcd1a | |
parent | 22c8be31446fabae7e5448ebddc65db59187608e (diff) |
ahci: convert ata_link_printk() to ata_link_warn()
Using ata_link_warn() instead of ata_link_printk().
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r-- | drivers/ata/libahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index 4201e535a8c8..320712a7b9ea 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c | |||
@@ -1384,7 +1384,7 @@ int ahci_pmp_retry_softreset(struct ata_link *link, unsigned int *class, | |||
1384 | if (rc == -EIO) { | 1384 | if (rc == -EIO) { |
1385 | irq_sts = readl(port_mmio + PORT_IRQ_STAT); | 1385 | irq_sts = readl(port_mmio + PORT_IRQ_STAT); |
1386 | if (irq_sts & PORT_IRQ_BAD_PMP) { | 1386 | if (irq_sts & PORT_IRQ_BAD_PMP) { |
1387 | ata_link_printk(link, KERN_WARNING, | 1387 | ata_link_warn(link, |
1388 | "applying PMP SRST workaround " | 1388 | "applying PMP SRST workaround " |
1389 | "and retrying\n"); | 1389 | "and retrying\n"); |
1390 | rc = ahci_do_softreset(link, class, 0, deadline, | 1390 | rc = ahci_do_softreset(link, class, 0, deadline, |