aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/executer/exconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/executer/exconfig.c')
-rw-r--r--drivers/acpi/executer/exconfig.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/acpi/executer/exconfig.c b/drivers/acpi/executer/exconfig.c
index 3370aad3ee14..52b1e95837fa 100644
--- a/drivers/acpi/executer/exconfig.c
+++ b/drivers/acpi/executer/exconfig.c
@@ -45,7 +45,6 @@
45#include <acpi/acinterp.h> 45#include <acpi/acinterp.h>
46#include <acpi/amlcode.h> 46#include <acpi/amlcode.h>
47#include <acpi/acnamesp.h> 47#include <acpi/acnamesp.h>
48#include <acpi/acevents.h>
49#include <acpi/actables.h> 48#include <acpi/actables.h>
50#include <acpi/acdispat.h> 49#include <acpi/acdispat.h>
51 50
@@ -341,9 +340,10 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc,
341 340
342 /* Validate checksum here. It won't get validated in tb_add_table */ 341 /* Validate checksum here. It won't get validated in tb_add_table */
343 342
344 status = acpi_tb_verify_checksum((struct acpi_table_header *) 343 status =
345 obj_desc->buffer.pointer, 344 acpi_tb_verify_checksum(ACPI_CAST_PTR
346 length); 345 (struct acpi_table_header,
346 obj_desc->buffer.pointer), length);
347 if (ACPI_FAILURE(status)) { 347 if (ACPI_FAILURE(status)) {
348 return_ACPI_STATUS(status); 348 return_ACPI_STATUS(status);
349 } 349 }
@@ -468,7 +468,7 @@ acpi_status acpi_ex_unload_table(union acpi_operand_object *ddb_handle)
468 * (Offset contains the table_id) 468 * (Offset contains the table_id)
469 */ 469 */
470 acpi_tb_delete_namespace_by_owner(table_index); 470 acpi_tb_delete_namespace_by_owner(table_index);
471 acpi_tb_release_owner_id(table_index); 471 (void)acpi_tb_release_owner_id(table_index);
472 472
473 acpi_tb_set_table_loaded_flag(table_index, FALSE); 473 acpi_tb_set_table_loaded_flag(table_index, FALSE);
474 474