[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] drivers/acpi: Drop "ERST table was not found" message


  • To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Fri, 13 Sep 2019 17:20:21 +0100
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=andrew.cooper3@xxxxxxxxxx; spf=Pass smtp.mailfrom=Andrew.Cooper3@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>
  • Delivery-date: Fri, 13 Sep 2019 16:20:28 +0000
  • Ironport-sdr: 48UjLFRDoUjys98vfXB3bxqkqL8QcSLRlJdxfwL8/Qba2ZvvykvHu7JzsDuOFblJKmQNP6lBoG KgomZ93jcXhufW5W9G+hONNp17rEbHEteGbPZCmb6LM5L1TfZ3j3NJrB0J5o0GsONSI5hBegEz fpS43jUOlFGYsSrfzGwgSddWyoqLn6eNa5UqVdCMaUKUrk5sAPzGT4VjTeST3xnXSEbS4SrPK0 6MCQMILMc53rA0WlSOis3zZXOON9bBo9eUCLuoUDY1dUYIbvg6JktNJQSq2TCDab8HHQdCiAU0 wos=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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@xxxxxxxxxx>
---
CC: Jan Beulich <JBeulich@xxxxxxxx>
---
 xen/drivers/acpi/apei/erst.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/xen/drivers/acpi/apei/erst.c b/xen/drivers/acpi/apei/erst.c
index 23a4e822e7..c5df512b98 100644
--- a/xen/drivers/acpi/apei/erst.c
+++ b/xen/drivers/acpi/apei/erst.c
@@ -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);
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.