2010-07-01 22:27:15

by Daniel J Blueman

[permalink] [raw]
Subject: [2.6.35-rc3] correct console log level when ERST ACPI table is not found

When booting 2.6.35-rc3 on a x86 system without an ERST ACPI table
with the 'quiet' option, we still observe an "ERST: Table is not
found!" warning.

Quiesce it to the same info log level as the other 'table not found' warnings.

Signed-off-by: Daniel J Blueman <[email protected]>

diff --git a/drivers/acpi/apei/erst.c b/drivers/acpi/apei/erst.c
index 2ebc391..864dd46 100644
--- a/drivers/acpi/apei/erst.c
+++ b/drivers/acpi/apei/erst.c
@@ -781,7 +781,7 @@ static int __init erst_init(void)
status = acpi_get_table(ACPI_SIG_ERST, 0,
(struct acpi_table_header **)&erst_tab);
if (status == AE_NOT_FOUND) {
- pr_err(ERST_PFX "Table is not found!\n");
+ pr_info(ERST_PFX "Table is not found!\n");
goto err;
} else if (ACPI_FAILURE(status)) {
const char *msg = acpi_format_exception(status);
--
Daniel J Blueman