aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/tables/tbxface.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/tables/tbxface.c')
-rw-r--r--drivers/acpi/tables/tbxface.c19
1 files changed, 7 insertions, 12 deletions
diff --git a/drivers/acpi/tables/tbxface.c b/drivers/acpi/tables/tbxface.c
index 83a9ca8cb98c..9fe53c9d5b9a 100644
--- a/drivers/acpi/tables/tbxface.c
+++ b/drivers/acpi/tables/tbxface.c
@@ -75,8 +75,7 @@ acpi_status acpi_load_tables(void)
75 status = acpi_os_get_root_pointer(ACPI_LOGICAL_ADDRESSING, 75 status = acpi_os_get_root_pointer(ACPI_LOGICAL_ADDRESSING,
76 &rsdp_address); 76 &rsdp_address);
77 if (ACPI_FAILURE(status)) { 77 if (ACPI_FAILURE(status)) {
78 ACPI_REPORT_ERROR(("Could not get RSDP, %s\n", 78 ACPI_EXCEPTION((AE_INFO, status, "Could not get the RSDP"));
79 acpi_format_exception(status)));
80 goto error_exit; 79 goto error_exit;
81 } 80 }
82 81
@@ -86,8 +85,7 @@ acpi_status acpi_load_tables(void)
86 85
87 status = acpi_tb_verify_rsdp(&rsdp_address); 86 status = acpi_tb_verify_rsdp(&rsdp_address);
88 if (ACPI_FAILURE(status)) { 87 if (ACPI_FAILURE(status)) {
89 ACPI_REPORT_ERROR(("RSDP Failed validation: %s\n", 88 ACPI_EXCEPTION((AE_INFO, status, "During RSDP validation"));
90 acpi_format_exception(status)));
91 goto error_exit; 89 goto error_exit;
92 } 90 }
93 91
@@ -95,8 +93,7 @@ acpi_status acpi_load_tables(void)
95 93
96 status = acpi_tb_get_table_rsdt(); 94 status = acpi_tb_get_table_rsdt();
97 if (ACPI_FAILURE(status)) { 95 if (ACPI_FAILURE(status)) {
98 ACPI_REPORT_ERROR(("Could not load RSDT: %s\n", 96 ACPI_EXCEPTION((AE_INFO, status, "Could not load RSDT"));
99 acpi_format_exception(status)));
100 goto error_exit; 97 goto error_exit;
101 } 98 }
102 99
@@ -104,7 +101,8 @@ acpi_status acpi_load_tables(void)
104 101
105 status = acpi_tb_get_required_tables(); 102 status = acpi_tb_get_required_tables();
106 if (ACPI_FAILURE(status)) { 103 if (ACPI_FAILURE(status)) {
107 ACPI_REPORT_ERROR(("Could not get all required tables (DSDT/FADT/FACS): %s\n", acpi_format_exception(status))); 104 ACPI_EXCEPTION((AE_INFO, status,
105 "Could not get all required tables (DSDT/FADT/FACS)"));
108 goto error_exit; 106 goto error_exit;
109 } 107 }
110 108
@@ -114,17 +112,14 @@ acpi_status acpi_load_tables(void)
114 112
115 status = acpi_ns_load_namespace(); 113 status = acpi_ns_load_namespace();
116 if (ACPI_FAILURE(status)) { 114 if (ACPI_FAILURE(status)) {
117 ACPI_REPORT_ERROR(("Could not load namespace: %s\n", 115 ACPI_EXCEPTION((AE_INFO, status, "Could not load namespace"));
118 acpi_format_exception(status)));
119 goto error_exit; 116 goto error_exit;
120 } 117 }
121 118
122 return_ACPI_STATUS(AE_OK); 119 return_ACPI_STATUS(AE_OK);
123 120
124 error_exit: 121 error_exit:
125 ACPI_REPORT_ERROR(("Could not load tables: %s\n", 122 ACPI_EXCEPTION((AE_INFO, status, "Could not load tables"));
126 acpi_format_exception(status)));
127
128 return_ACPI_STATUS(status); 123 return_ACPI_STATUS(status);
129} 124}
130 125