forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
22c8be3144
commit
39f80acb9f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user