Fix for predefined name loop during ACPICA initialization.

If a name cannot be created, simply continue on to the next name.
Do not attempt to use the name, do not abort.
With assistance from Colin Ian King.
This commit is contained in:
Robert Moore 2012-09-26 10:05:25 -07:00
parent 5cf391810f
commit 2b3982595c

View File

@ -193,12 +193,12 @@ AcpiNsRootInitialize (
Status = AcpiNsLookup (NULL, InitVal->Name, InitVal->Type,
ACPI_IMODE_LOAD_PASS2, ACPI_NS_NO_UPSEARCH,
NULL, &NewNode);
if (ACPI_FAILURE (Status) || (!NewNode)) /* Must be on same line for code converter */
if (ACPI_FAILURE (Status))
{
ACPI_EXCEPTION ((AE_INFO, Status,
"Could not create predefined name %s",
InitVal->Name));
continue;
}
/*