Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117320
b: refs/heads/master
c: d8a0ec9
h: refs/heads/master
v: v3
  • Loading branch information
Lin Ming authored and Len Brown committed Oct 23, 2008
1 parent 3cdb0ec commit f94a158
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 68e125c40597802b9789bc696775bf0246e7667d
refs/heads/master: d8a0ec914afa1a994d2f6184ac4c6668b5f8068f
3 changes: 3 additions & 0 deletions trunk/drivers/acpi/dispatcher/dsmethod.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ acpi_ds_method_error(acpi_status status, struct acpi_walk_state *walk_state)
NULL);
acpi_ex_enter_interpreter();
}

acpi_ds_clear_implicit_return(walk_state);

#ifdef ACPI_DISASSEMBLER
if (ACPI_FAILURE(status)) {

Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/acpi/parser/psparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,12 @@ acpi_status acpi_ps_parse_aml(struct acpi_walk_state *walk_state)
ACPI_WALK_METHOD_RESTART;
}
} else {
/* On error, delete any return object */
/* On error, delete any return object or implicit return */

acpi_ut_remove_reference(previous_walk_state->
return_desc);
acpi_ds_clear_implicit_return
(previous_walk_state);
}
}

Expand Down

0 comments on commit f94a158

Please sign in to comment.