mirror of
https://github.com/acpica/acpica/
synced 2025-01-22 09:22:16 +03:00
Several lint changes, no functional changes.
remove pointer cast warnings and fix for a debug printf.
This commit is contained in:
parent
7b41e016ec
commit
24c2b16cce
@ -299,7 +299,7 @@ AcpiDbDumpExternalObject (
|
||||
|
||||
case ACPI_TYPE_LOCAL_REFERENCE:
|
||||
|
||||
AcpiOsPrintf ("[Object Reference] = ", ObjDesc->Reference.Handle);
|
||||
AcpiOsPrintf ("[Object Reference] = ");
|
||||
AcpiDmDisplayInternalObject (ObjDesc->Reference.Handle, NULL);
|
||||
break;
|
||||
|
||||
|
@ -331,7 +331,7 @@ AcpiDmNamestring (
|
||||
{
|
||||
/* Append Name segment */
|
||||
|
||||
AcpiDmDumpName (*(UINT32 *) Name);
|
||||
AcpiDmDumpName (*ACPI_CAST_PTR (UINT32, Name));
|
||||
|
||||
SegCount--;
|
||||
if (SegCount)
|
||||
|
@ -605,8 +605,8 @@ AcpiExPrepFieldValue (
|
||||
* operands must be evaluated.
|
||||
*/
|
||||
SecondDesc = ObjDesc->Common.NextObject;
|
||||
SecondDesc->Extra.AmlStart = ((ACPI_PARSE_OBJECT*) (Info->DataRegisterNode))->Named.Data;
|
||||
SecondDesc->Extra.AmlLength = ((ACPI_PARSE_OBJECT*) (Info->DataRegisterNode))->Named.Length;
|
||||
SecondDesc->Extra.AmlStart = ACPI_CAST_PTR (ACPI_PARSE_OBJECT, Info->DataRegisterNode)->Named.Data;
|
||||
SecondDesc->Extra.AmlLength = ACPI_CAST_PTR (ACPI_PARSE_OBJECT, Info->DataRegisterNode)->Named.Length;
|
||||
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user