提交 38941c95 编写于 作者: T Tejun Heo 提交者: Jeff Garzik

libata: report link resume failure as KERN_WARNING instead of ERR

Link resume failure in itself isn't an error condition and may happen
regularly depending on hardware configuration.  Reporting it as
KERN_ERR makes the condition unnecessarily prominent (e.g. reported
during boot).  Use KERN_WARNING instead.
Signed-off-by: NTejun Heo <tj@kernel.org>
Reported-by: NDavid Shaw <dshaw@jabberwocky.com>
Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
上级 345347c5
......@@ -3534,7 +3534,7 @@ int sata_link_resume(struct ata_link *link, const unsigned long *params,
} while ((scontrol & 0xf0f) != 0x300 && --tries);
if ((scontrol & 0xf0f) != 0x300) {
ata_link_err(link, "failed to resume link (SControl %X)\n",
ata_link_warn(link, "failed to resume link (SControl %X)\n",
scontrol);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册