Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46383
b: refs/heads/master
c: 65e4b9b
h: refs/heads/master
i:
  46381: 05e35a2
  46379: 5d52c0c
  46375: bdc2016
  46367: d06fe3e
v: v3
  • Loading branch information
Fiodor Suietov authored and Len Brown committed Feb 3, 2007
1 parent 303f9a4 commit 2fb5d9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 867c9aec576e0c0d89dfa3922019320619002129
refs/heads/master: 65e4b9b05dc10ee84b5c9fc3039fbcc6863743d7
8 changes: 5 additions & 3 deletions trunk/drivers/acpi/executer/exresolv.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr,
acpi_status status = AE_OK;
union acpi_operand_object *stack_desc;
void *temp_node;
union acpi_operand_object *obj_desc;
union acpi_operand_object *obj_desc = NULL;
u16 opcode;

ACPI_FUNCTION_TRACE(ex_resolve_object_to_value);
Expand Down Expand Up @@ -299,8 +299,6 @@ acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr,
status = acpi_ds_get_package_arguments(stack_desc);
break;

/* These cases may never happen here, but just in case.. */

case ACPI_TYPE_BUFFER_FIELD:
case ACPI_TYPE_LOCAL_REGION_FIELD:
case ACPI_TYPE_LOCAL_BANK_FIELD:
Expand All @@ -314,6 +312,10 @@ acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr,
status =
acpi_ex_read_data_from_field(walk_state, stack_desc,
&obj_desc);

/* Remove a reference to the original operand, then override */

acpi_ut_remove_reference(*stack_ptr);
*stack_ptr = (void *)obj_desc;
break;

Expand Down

0 comments on commit 2fb5d9b

Please sign in to comment.