mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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>
master commit: 759847e444
master date: 2013-03-20 10:02:52 +0100
This commit is contained in:
1 parent
1ac613c295
commit
dc925edf48
1 file changed
+2
-2
@@ -788,11 +788,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;
|
||||
}
|
||||
|
||||
|
||||