mirror of
https://github.com/acpica/acpica/
synced 2025-01-18 15:39:18 +03:00
Fifth lint pass - CLEAN for 32-bit and 64-bit
date 2002.04.12.20.46.00; author rmoore1; state Exp;
This commit is contained in:
parent
faee6233cc
commit
2bee7f763d
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: psparse - Parser top level AML parse routines
|
||||
* $Revision: 1.125 $
|
||||
* $Revision: 1.126 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -135,7 +135,7 @@
|
||||
ACPI_MODULE_NAME ("psparse")
|
||||
|
||||
|
||||
UINT32 AcpiGbl_Depth = 0;
|
||||
static UINT32 AcpiGbl_Depth = 0;
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
@ -1305,7 +1305,14 @@ AcpiPsParseAml (
|
||||
*/
|
||||
if ((WalkState->ParseFlags & ACPI_PARSE_MODE_MASK) == ACPI_PARSE_EXECUTE)
|
||||
{
|
||||
AcpiDsTerminateControlMethod (WalkState);
|
||||
Status = AcpiDsTerminateControlMethod (WalkState);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
ACPI_REPORT_ERROR (("Could not terminate control method properly\n"));
|
||||
Status = AE_OK;
|
||||
|
||||
/* Ignore error and continue */
|
||||
}
|
||||
}
|
||||
|
||||
/* Delete this walk state and all linked control states */
|
||||
@ -1329,9 +1336,12 @@ AcpiPsParseAml (
|
||||
* If the method return value is not used by the parent,
|
||||
* The object is deleted
|
||||
*/
|
||||
AcpiDsRestartControlMethod (WalkState, PreviousWalkState->ReturnDesc);
|
||||
Status = AcpiDsRestartControlMethod (WalkState, PreviousWalkState->ReturnDesc);
|
||||
if (ACPI_SUCCESS (Status))
|
||||
{
|
||||
WalkState->WalkType |= ACPI_WALK_METHOD_RESTART;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* On error, delete any return object */
|
||||
@ -1366,7 +1376,7 @@ AcpiPsParseAml (
|
||||
/* Normal exit */
|
||||
|
||||
AcpiExReleaseAllMutexes (Thread);
|
||||
AcpiUtDeleteGenericState ((ACPI_GENERIC_STATE *) Thread);
|
||||
AcpiUtDeleteGenericState (ACPI_CAST_PTR (ACPI_GENERIC_STATE, Thread));
|
||||
AcpiGbl_CurrentWalkList = PrevWalkList;
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user