diff options
Diffstat (limited to 'sys/contrib/dev/acpica/exmisc.c')
-rw-r--r-- | sys/contrib/dev/acpica/exmisc.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/contrib/dev/acpica/exmisc.c b/sys/contrib/dev/acpica/exmisc.c index bb79e81..ac9b819 100644 --- a/sys/contrib/dev/acpica/exmisc.c +++ b/sys/contrib/dev/acpica/exmisc.c @@ -2,7 +2,7 @@ /****************************************************************************** * * Module Name: exmisc - ACPI AML (p-code) execution - specific opcodes - * $Revision: 92 $ + * $Revision: 94 $ * *****************************************************************************/ @@ -129,7 +129,6 @@ MODULE_NAME ("exmisc") - /******************************************************************************* * * FUNCTION: AcpiExGetObjectReference @@ -174,8 +173,9 @@ AcpiExGetObjectReference ( case AML_LOCAL_OP: case AML_ARG_OP: - *ReturnDesc = (void *) AcpiDsMethodDataGetNode (ObjDesc->Reference.Opcode, - ObjDesc->Reference.Offset, WalkState); + Status = AcpiDsMethodDataGetNode (ObjDesc->Reference.Opcode, + ObjDesc->Reference.Offset, WalkState, + (ACPI_NAMESPACE_NODE **) ReturnDesc); break; default: @@ -473,7 +473,6 @@ AcpiExDoMathOp ( } - /******************************************************************************* * * FUNCTION: AcpiExDoLogicalOp @@ -555,5 +554,3 @@ AcpiExDoLogicalOp ( } - - |