]> xenbits.xensource.com Git - people/larsk/xen.git/commitdiff
drivers/acpi: Drop "ERST table was not found" message
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 13 Sep 2019 16:17:21 +0000 (17:17 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 17 Sep 2019 16:24:18 +0000 (17:24 +0100)
ERST isn't a mandatory table, and also isn't very common to find.  The message
is unnecessary noise during boot.  Furthermore, it is redundant with the list
of found ACPI tables printed just ahead.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/acpi/apei/erst.c

index 23a4e822e7e63f88349e75df0f2c768fbc1f6a30..c5df512b98384c06544c25381ca5cb5891fd9232 100644 (file)
@@ -791,10 +791,9 @@ int __init erst_init(void)
                return -ENODEV;
 
        status = acpi_get_table_phys(ACPI_SIG_ERST, 0, &erst_addr, &erst_len);
-       if (status == AE_NOT_FOUND) {
-               printk(KERN_INFO "ERST table was not found\n");
+       if (status == AE_NOT_FOUND)
                return -ENODEV;
-       }
+
        if (ACPI_FAILURE(status)) {
                const char *msg = acpi_format_exception(status);
                printk(KERN_WARNING "Failed to get ERST table: %s\n", msg);