Message ID | 20110630163940.GT3386@htj.dyndns.org |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
On Jun 30, 2011, at 12:39 PM, Tejun Heo wrote: > Hmmm.... I don't think there's any easy way to suppress the above > messages; however, the reason why they get printed through is because > they're marked KERN_ERR, but it isn't necessarily an error condition > and we should be fine with KERN_WARNING. > > Does the following make the issue go away? It does, thanks very much! David -- 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
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 736bee5..0044370 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -3552,7 +3552,7 @@ int sata_link_resume(struct ata_link *link, const unsigned long *params, } while ((scontrol & 0xf0f) != 0x300 && --tries); if ((scontrol & 0xf0f) != 0x300) { - ata_link_printk(link, KERN_ERR, + ata_link_printk(link, KERN_WARNING, "failed to resume link (SControl %X)\n", scontrol); return 0;