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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/executer/exconfig.c b/drivers/acpi/executer/exconfig.c
index 864530f754c3..e0deffb56790 100644
--- a/drivers/acpi/executer/exconfig.c
+++ b/drivers/acpi/executer/exconfig.c
@@ -349,7 +349,7 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc,
349 349
350 /* Allocate a buffer for the entire table */ 350 /* Allocate a buffer for the entire table */
351 351
352 table_ptr = ACPI_MEM_ALLOCATE(table_header.length); 352 table_ptr = ACPI_ALLOCATE(table_header.length);
353 if (!table_ptr) { 353 if (!table_ptr) {
354 return_ACPI_STATUS(AE_NO_MEMORY); 354 return_ACPI_STATUS(AE_NO_MEMORY);
355 } 355 }
@@ -447,7 +447,7 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc,
447 447
448 cleanup: 448 cleanup:
449 if (ACPI_FAILURE(status)) { 449 if (ACPI_FAILURE(status)) {
450 ACPI_MEM_FREE(table_ptr); 450 ACPI_FREE(table_ptr);
451 } 451 }
452 return_ACPI_STATUS(status); 452 return_ACPI_STATUS(status);
453} 453}