mirror of
https://github.com/acpica/acpica/
synced 2025-02-12 11:34:42 +03:00
Formatting update - no functional changes.
Split some long lines.
This commit is contained in:
parent
89cce9695d
commit
930bc63d04
@ -588,7 +588,8 @@ AcpiUtCopyEsimpleToIsimple (
|
||||
default:
|
||||
/* All other types are not supported */
|
||||
|
||||
ACPI_ERROR ((AE_INFO, "Unsupported object type, cannot convert to internal object: %s",
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
"Unsupported object type, cannot convert to internal object: %s",
|
||||
AcpiUtGetTypeName (ExternalObject->Type)));
|
||||
|
||||
return_ACPI_STATUS (AE_SUPPORT);
|
||||
@ -602,7 +603,9 @@ AcpiUtCopyEsimpleToIsimple (
|
||||
case ACPI_TYPE_STRING:
|
||||
|
||||
InternalObject->String.Pointer =
|
||||
ACPI_ALLOCATE_ZEROED ((ACPI_SIZE) ExternalObject->String.Length + 1);
|
||||
ACPI_ALLOCATE_ZEROED ((ACPI_SIZE)
|
||||
ExternalObject->String.Length + 1);
|
||||
|
||||
if (!InternalObject->String.Pointer)
|
||||
{
|
||||
goto ErrorExit;
|
||||
|
@ -216,7 +216,8 @@ AcpiUtOsiImplementation (
|
||||
|
||||
for (i = 0; i < ACPI_ARRAY_LENGTH (AcpiInterfacesSupported); i++)
|
||||
{
|
||||
if (!ACPI_STRCMP (StringDesc->String.Pointer, AcpiInterfacesSupported[i]))
|
||||
if (!ACPI_STRCMP (StringDesc->String.Pointer,
|
||||
AcpiInterfacesSupported[i]))
|
||||
{
|
||||
/* The interface is supported */
|
||||
|
||||
|
@ -865,7 +865,10 @@ AcpiUtInitGlobals (
|
||||
{
|
||||
AcpiGbl_OwnerIdMask[i] = 0;
|
||||
}
|
||||
AcpiGbl_OwnerIdMask[ACPI_NUM_OWNERID_MASKS - 1] = 0x80000000; /* Last ID is never valid */
|
||||
|
||||
/* Last OwnerID is never valid */
|
||||
|
||||
AcpiGbl_OwnerIdMask[ACPI_NUM_OWNERID_MASKS - 1] = 0x80000000;
|
||||
|
||||
/* Event counters */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user