Commit e33ef822 authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] proposed fix for AML parameter passing from Bob Moore

  http://bugzilla.kernel.org/show_bug.cgi?id=1766
parent d0df0dc6
......@@ -203,9 +203,10 @@ acpi_ds_method_data_init_args (
while ((index < ACPI_METHOD_NUM_ARGS) && (index < max_param_count) && params[index]) {
/*
* A valid parameter.
* Store the argument in the method/walk descriptor
* Store the argument in the method/walk descriptor.
* Do not copy the arg in order to implement call by reference
*/
status = acpi_ds_store_object_to_local (AML_ARG_OP, index, params[index],
status = acpi_ds_method_data_set_value (AML_ARG_OP, index, params[index],
walk_state);
if (ACPI_FAILURE (status)) {
return_ACPI_STATUS (status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment