mirror of
https://github.com/acpica/acpica/
synced 2025-01-27 03:42:04 +03:00
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:
parent
5cf391810f
commit
2b3982595c
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user