]> xenbits.xensource.com Git - xen.git/commitdiff
ACPI/ERST: Name table in otherwise opaque error messages
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 20 Mar 2013 09:02:52 +0000 (10:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 20 Mar 2013 09:02:52 +0000 (10:02 +0100)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Fix spelling and lower severities.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/acpi/apei/erst.c

index ad6417fecf8621db2fbb37c0029858e468136fed..6519042baae165297f2b5540cc317375606823e1 100644 (file)
@@ -781,11 +781,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;
        }