29 lines
965 B
Diff
29 lines
965 B
Diff
|
# Commit 759847e44401176401e86e7c55b644cb9f93c781
|
||
|
# Date 2013-03-20 10:02:52 +0100
|
||
|
# Author Andrew Cooper <andrew.cooper3@citrix.com>
|
||
|
# Committer Jan Beulich <jbeulich@suse.com>
|
||
|
ACPI/ERST: Name table in otherwise opaque error messages
|
||
|
|
||
|
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
|
||
|
|
||
|
Fix spelling and lower severities.
|
||
|
|
||
|
Signed-off-by: Jan Beulich <jbeulich@suse.com>
|
||
|
|
||
|
--- a/xen/drivers/acpi/apei/erst.c
|
||
|
+++ b/xen/drivers/acpi/apei/erst.c
|
||
|
@@ -799,11 +799,11 @@ int __init erst_init(void)
|
||
|
status = acpi_get_table(ACPI_SIG_ERST, 0,
|
||
|
(struct acpi_table_header **)&erst_tab);
|
||
|
if (status == AE_NOT_FOUND) {
|
||
|
- printk(KERN_ERR "Table is not found!\n");
|
||
|
+ printk(KERN_INFO "ERST table was not found\n");
|
||
|
return -ENODEV;
|
||
|
} else if (ACPI_FAILURE(status)) {
|
||
|
const char *msg = acpi_format_exception(status);
|
||
|
- printk(KERN_ERR "Failed to get table, %s\n", msg);
|
||
|
+ printk(KERN_WARNING "Failed to get ERST table: %s\n", msg);
|
||
|
return -EINVAL;
|
||
|
}
|
||
|
|