diff options
Diffstat (limited to 'drivers/acpi/tables/tbxface.c')
-rw-r--r-- | drivers/acpi/tables/tbxface.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/tables/tbxface.c b/drivers/acpi/tables/tbxface.c index 9fe53c9d5b9a..3e902cdb83e1 100644 --- a/drivers/acpi/tables/tbxface.c +++ b/drivers/acpi/tables/tbxface.c | |||
@@ -174,6 +174,7 @@ acpi_status acpi_load_table(struct acpi_table_header *table_ptr) | |||
174 | status = acpi_tb_install_table(&table_info); | 174 | status = acpi_tb_install_table(&table_info); |
175 | if (ACPI_FAILURE(status)) { | 175 | if (ACPI_FAILURE(status)) { |
176 | if (status == AE_ALREADY_EXISTS) { | 176 | if (status == AE_ALREADY_EXISTS) { |
177 | |||
177 | /* Table already exists, no error */ | 178 | /* Table already exists, no error */ |
178 | 179 | ||
179 | status = AE_OK; | 180 | status = AE_OK; |
@@ -208,6 +209,7 @@ acpi_status acpi_load_table(struct acpi_table_header *table_ptr) | |||
208 | } | 209 | } |
209 | 210 | ||
210 | if (ACPI_FAILURE(status)) { | 211 | if (ACPI_FAILURE(status)) { |
212 | |||
211 | /* Uninstall table and free the buffer */ | 213 | /* Uninstall table and free the buffer */ |
212 | 214 | ||
213 | (void)acpi_tb_uninstall_table(table_info.installed_desc); | 215 | (void)acpi_tb_uninstall_table(table_info.installed_desc); |
@@ -397,6 +399,7 @@ acpi_get_table(acpi_table_type table_type, | |||
397 | /* Get the table length */ | 399 | /* Get the table length */ |
398 | 400 | ||
399 | if (table_type == ACPI_TABLE_RSDP) { | 401 | if (table_type == ACPI_TABLE_RSDP) { |
402 | |||
400 | /* RSD PTR is the only "table" without a header */ | 403 | /* RSD PTR is the only "table" without a header */ |
401 | 404 | ||
402 | table_length = sizeof(struct rsdp_descriptor); | 405 | table_length = sizeof(struct rsdp_descriptor); |