| Submitter | Wei Yongjun |
|---|---|
| Date | Dec. 4, 2012, 4:39 a.m. |
| Message ID | <CAPgLHd-4yiFx+t2sgohyYgouvzRzGJkgG3kBFOuOM3MgvzpYJA@mail.gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/203555/ |
| State | Not Applicable |
| Delegated to: | David Miller |
| Headers | show |
Comments
On 12/03/2012 11:39 PM, Wei Yongjun wrote: > From: Wei Yongjun <yongjun_wei@trendmicro.com.cn> > > Using ata_link_warn() instead of ata_link_printk(). > > Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> > --- > drivers/ata/libahci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied all three -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
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,