aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/apei
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2011-12-07 22:25:43 -0500
committerLen Brown <len.brown@intel.com>2012-01-17 03:54:29 -0500
commitad6861547b52ad7c31eacc336b79ac91d7fded75 (patch)
tree1654c952dc8c30e650883d79466a8f6386ec7c0c /drivers/acpi/apei
parent46b91e379f7180b482b789fbe615946d91e3a07f (diff)
ACPI, APEI, Remove table not found message
Because APEI tables are optional, these message may confuse users, for example, https://bugs.launchpad.net/ubuntu/+source/linux/+bug/599715 Reported-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/apei')
-rw-r--r--drivers/acpi/apei/einj.c5
-rw-r--r--drivers/acpi/apei/erst.c5
-rw-r--r--drivers/acpi/apei/hest.c5
3 files changed, 6 insertions, 9 deletions
diff --git a/drivers/acpi/apei/einj.c b/drivers/acpi/apei/einj.c
index d25390274d7b..43eeb2e6e635 100644
--- a/drivers/acpi/apei/einj.c
+++ b/drivers/acpi/apei/einj.c
@@ -466,10 +466,9 @@ static int __init einj_init(void)
466 466
467 status = acpi_get_table(ACPI_SIG_EINJ, 0, 467 status = acpi_get_table(ACPI_SIG_EINJ, 0,
468 (struct acpi_table_header **)&einj_tab); 468 (struct acpi_table_header **)&einj_tab);
469 if (status == AE_NOT_FOUND) { 469 if (status == AE_NOT_FOUND)
470 pr_info(EINJ_PFX "Table is not found!\n");
471 return -ENODEV; 470 return -ENODEV;
472 } else if (ACPI_FAILURE(status)) { 471 else if (ACPI_FAILURE(status)) {
473 const char *msg = acpi_format_exception(status); 472 const char *msg = acpi_format_exception(status);
474 pr_err(EINJ_PFX "Failed to get table, %s\n", msg); 473 pr_err(EINJ_PFX "Failed to get table, %s\n", msg);
475 return -EINVAL; 474 return -EINVAL;
diff --git a/drivers/acpi/apei/erst.c b/drivers/acpi/apei/erst.c
index 631b9477b99c..8e8d786c5d23 100644
--- a/drivers/acpi/apei/erst.c
+++ b/drivers/acpi/apei/erst.c
@@ -1125,10 +1125,9 @@ static int __init erst_init(void)
1125 1125
1126 status = acpi_get_table(ACPI_SIG_ERST, 0, 1126 status = acpi_get_table(ACPI_SIG_ERST, 0,
1127 (struct acpi_table_header **)&erst_tab); 1127 (struct acpi_table_header **)&erst_tab);
1128 if (status == AE_NOT_FOUND) { 1128 if (status == AE_NOT_FOUND)
1129 pr_info(ERST_PFX "Table is not found!\n");
1130 goto err; 1129 goto err;
1131 } else if (ACPI_FAILURE(status)) { 1130 else if (ACPI_FAILURE(status)) {
1132 const char *msg = acpi_format_exception(status); 1131 const char *msg = acpi_format_exception(status);
1133 pr_err(ERST_PFX "Failed to get table, %s\n", msg); 1132 pr_err(ERST_PFX "Failed to get table, %s\n", msg);
1134 rc = -EINVAL; 1133 rc = -EINVAL;
diff --git a/drivers/acpi/apei/hest.c b/drivers/acpi/apei/hest.c
index 05fee06f4d6e..f709269d4932 100644
--- a/drivers/acpi/apei/hest.c
+++ b/drivers/acpi/apei/hest.c
@@ -221,10 +221,9 @@ void __init acpi_hest_init(void)
221 221
222 status = acpi_get_table(ACPI_SIG_HEST, 0, 222 status = acpi_get_table(ACPI_SIG_HEST, 0,
223 (struct acpi_table_header **)&hest_tab); 223 (struct acpi_table_header **)&hest_tab);
224 if (status == AE_NOT_FOUND) { 224 if (status == AE_NOT_FOUND)
225 pr_info(HEST_PFX "Table not found.\n");
226 goto err; 225 goto err;
227 } else if (ACPI_FAILURE(status)) { 226 else if (ACPI_FAILURE(status)) {
228 const char *msg = acpi_format_exception(status); 227 const char *msg = acpi_format_exception(status);
229 pr_err(HEST_PFX "Failed to get table, %s\n", msg); 228 pr_err(HEST_PFX "Failed to get table, %s\n", msg);
230 rc = -EINVAL; 229 rc = -EINVAL;