patch-2.4.26 linux-2.4.26/drivers/acpi/dispatcher/dsutils.c

Next file: linux-2.4.26/drivers/acpi/dispatcher/dswstate.c
Previous file: linux-2.4.26/drivers/acpi/dispatcher/dsopcode.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/drivers/acpi/dispatcher/dsutils.c linux-2.4.26/drivers/acpi/dispatcher/dsutils.c
@@ -280,7 +280,8 @@
 
 	/*
 	 * Attempt to resolve each of the valid operands
-	 * Method arguments are passed by value, not by reference
+	 * Method arguments are passed by reference, not by value.  This means
+	 * that the actual objects are passed, not copies of the objects.
 	 */
 	for (i = 0; i < walk_state->num_operands; i++) {
 		status = acpi_ex_resolve_to_value (&walk_state->operands[i], walk_state);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)