View | Details | Raw Unified | Return to bug 1766 | Differences between
and this patch

Collapse All | Expand All

(-)1.24/drivers/acpi/dispatcher/dsmthdat.c (-2 / +3 lines)
Lines 203-211 Link Here
203
	while ((index < ACPI_METHOD_NUM_ARGS) && (index < max_param_count) && params[index]) {
203
	while ((index < ACPI_METHOD_NUM_ARGS) && (index < max_param_count) && params[index]) {
204
		/*
204
		/*
205
		 * A valid parameter.
205
		 * A valid parameter.
206
		 * Store the argument in the method/walk descriptor
206
		 * Store the argument in the method/walk descriptor.
207
		 * Do not copy the arg in order to implement call by reference
207
		 */
208
		 */
208
		status = acpi_ds_store_object_to_local (AML_ARG_OP, index, params[index],
209
		status = acpi_ds_method_data_set_value (AML_ARG_OP, index, params[index],
209
				 walk_state);
210
				 walk_state);
210
		if (ACPI_FAILURE (status)) {
211
		if (ACPI_FAILURE (status)) {
211
			return_ACPI_STATUS (status);
212
			return_ACPI_STATUS (status);

Return to bug 1766