mirror of
https://github.com/acpica/acpica/
synced 2025-03-06 14:21:47 +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
c5ca33c9e2
commit
10096d54fc
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: dsmethod - Parser/Interpreter interface - control method parsing
|
||||
* $Revision: 1.84 $
|
||||
* $Revision: 1.85 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -591,8 +591,15 @@ AcpiDsTerminateControlMethod (
|
||||
|
||||
if (WalkState->MethodDesc->Method.Semaphore)
|
||||
{
|
||||
AcpiOsSignalSemaphore (
|
||||
Status = AcpiOsSignalSemaphore (
|
||||
WalkState->MethodDesc->Method.Semaphore, 1);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
ACPI_REPORT_ERROR (("Could not signal method semaphore\n"));
|
||||
Status = AE_OK;
|
||||
|
||||
/* Ignore error and continue cleanup */
|
||||
}
|
||||
}
|
||||
|
||||
/* Decrement the thread count on the method parse tree */
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: dsobject - Dispatcher object management routines
|
||||
* $Revision: 1.94 $
|
||||
* $Revision: 1.96 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -291,7 +291,8 @@ AcpiDsInitializeObjects (
|
||||
AcpiDsInitOneObject, &Info, NULL);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "WalkNamespace failed! %x\n", Status));
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "WalkNamespace failed, %s\n",
|
||||
AcpiFormatException (Status)));
|
||||
}
|
||||
|
||||
ACPI_DEBUG_PRINT_RAW ((ACPI_DB_OK,
|
||||
@ -434,7 +435,7 @@ AcpiDsInitObjectFromOp (
|
||||
|
||||
default:
|
||||
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Unimplemented data type: %x\n",
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Unimplemented data type: %X\n",
|
||||
ObjDesc->Common.Type));
|
||||
|
||||
break;
|
||||
@ -740,7 +741,7 @@ AcpiDsBuildInternalPackageObj (
|
||||
* that the list is always null terminated.
|
||||
*/
|
||||
ObjDesc->Package.Elements = ACPI_MEM_CALLOCATE (
|
||||
(ObjDesc->Package.Count + 1) * sizeof (void *));
|
||||
((ACPI_SIZE) ObjDesc->Package.Count + 1) * sizeof (void *));
|
||||
|
||||
if (!ObjDesc->Package.Elements)
|
||||
{
|
||||
@ -760,7 +761,7 @@ AcpiDsBuildInternalPackageObj (
|
||||
{
|
||||
/* Object (package or buffer) is already built */
|
||||
|
||||
ObjDesc->Package.Elements[i] = (ACPI_OPERAND_OBJECT *) Arg->Common.Node;
|
||||
ObjDesc->Package.Elements[i] = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Arg->Common.Node);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: hwsleep.c - ACPI Hardware Sleep/Wake Interface
|
||||
* $Revision: 1.39 $
|
||||
* $Revision: 1.40 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -297,7 +297,7 @@ AcpiEnterSleepState (
|
||||
if ((AcpiGbl_SleepTypeA > ACPI_SLEEP_TYPE_MAX) ||
|
||||
(AcpiGbl_SleepTypeB > ACPI_SLEEP_TYPE_MAX))
|
||||
{
|
||||
ACPI_REPORT_ERROR (("Sleep values out of range: A=%x B=%x\n",
|
||||
ACPI_REPORT_ERROR (("Sleep values out of range: A=%X B=%X\n",
|
||||
AcpiGbl_SleepTypeA, AcpiGbl_SleepTypeB));
|
||||
return_ACPI_STATUS (AE_AML_OPERAND_VALUE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user