From: Wei Yongjun Date: Tue, 4 Dec 2012 04:39:31 +0000 (-0500) Subject: ahci: convert ata_link_printk() to ata_link_warn() X-Git-Tag: upstream/snapshot3+hdmi~6056^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39f80acb9fe5adff216bde33c554e4bf5f6eec12;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ahci: convert ata_link_printk() to ata_link_warn() Using ata_link_warn() instead of ata_link_printk(). Signed-off-by: Wei Yongjun Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index 4201e53..320712a 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, if (rc == -EIO) { irq_sts = readl(port_mmio + PORT_IRQ_STAT); if (irq_sts & PORT_IRQ_BAD_PMP) { - ata_link_printk(link, KERN_WARNING, + ata_link_warn(link, "applying PMP SRST workaround " "and retrying\n"); rc = ahci_do_softreset(link, class, 0, deadline,