diff options
Diffstat (limited to 'drivers/acpi/acpica/dsmethod.c')
-rw-r--r-- | drivers/acpi/acpica/dsmethod.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/dsmethod.c b/drivers/acpi/acpica/dsmethod.c index 735c05996ec6..54c968ab8144 100644 --- a/drivers/acpi/acpica/dsmethod.c +++ b/drivers/acpi/acpica/dsmethod.c | |||
@@ -378,7 +378,8 @@ acpi_ds_call_control_method(struct acpi_thread_state *thread, | |||
378 | */ | 378 | */ |
379 | info = ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_evaluate_info)); | 379 | info = ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_evaluate_info)); |
380 | if (!info) { | 380 | if (!info) { |
381 | return_ACPI_STATUS(AE_NO_MEMORY); | 381 | status = AE_NO_MEMORY; |
382 | goto cleanup; | ||
382 | } | 383 | } |
383 | 384 | ||
384 | info->parameters = &this_walk_state->operands[0]; | 385 | info->parameters = &this_walk_state->operands[0]; |