Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95476
b: refs/heads/master
c: a3df4da
h: refs/heads/master
v: v3
  • Loading branch information
Lin Ming authored and Len Brown committed Apr 22, 2008
1 parent 08c03c4 commit aabde0e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 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: 1d5b285da1893b90507b081664ac27f1a8a3dc5b
refs/heads/master: a3df4dadd446c0d7195f2bbe86dd5174426d8090
15 changes: 11 additions & 4 deletions trunk/drivers/acpi/executer/exstore.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,10 +603,17 @@ acpi_ex_store_object_to_node(union acpi_operand_object *source_desc,

/* If no implicit conversion, drop into the default case below */

if ((!implicit_conversion) || (walk_state->opcode == AML_COPY_OP)) {

/* Force execution of default (no implicit conversion) */

if ((!implicit_conversion) ||
((walk_state->opcode == AML_COPY_OP) &&
(target_type != ACPI_TYPE_LOCAL_REGION_FIELD) &&
(target_type != ACPI_TYPE_LOCAL_BANK_FIELD) &&
(target_type != ACPI_TYPE_LOCAL_INDEX_FIELD))) {
/*
* Force execution of default (no implicit conversion). Note:
* copy_object does not perform an implicit conversion, as per the ACPI
* spec -- except in case of region/bank/index fields -- because these
* objects must retain their original type permanently.
*/
target_type = ACPI_TYPE_ANY;
}

Expand Down

0 comments on commit aabde0e

Please sign in to comment.