ACPICA: Fixes for acpiExec namespace init file
This is the result of squashing the following ACPICA commit ID's: 6803997e5b4f3635cea6610b51ff69e29d251de3 f31cdf8bfda22fe265c1a176d0e33d311c82a7f7 This change fixes several problems with the support for the acpi_exec namespace init file (-fi option). Specifically, it fixes AE_ALREADY_EXISTS errors, as well as various seg faults. Link: https://github.com/acpica/acpica/commit/f31cdf8b Link: https://github.com/acpica/acpica/commit/6803997e Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Erik Kaneda <erik.kaneda@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tento commit je obsažen v:
@@ -452,13 +452,13 @@ acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action)
|
||||
*
|
||||
* FUNCTION: acpi_ut_update_object_reference
|
||||
*
|
||||
* PARAMETERS: object - Increment ref count for this object
|
||||
* and all sub-objects
|
||||
* PARAMETERS: object - Increment or decrement the ref count for
|
||||
* this object and all sub-objects
|
||||
* action - Either REF_INCREMENT or REF_DECREMENT
|
||||
*
|
||||
* RETURN: Status
|
||||
*
|
||||
* DESCRIPTION: Increment the object reference count
|
||||
* DESCRIPTION: Increment or decrement the object reference count
|
||||
*
|
||||
* Object references are incremented when:
|
||||
* 1) An object is attached to a Node (namespace object)
|
||||
@@ -492,7 +492,7 @@ acpi_ut_update_object_reference(union acpi_operand_object *object, u16 action)
|
||||
}
|
||||
|
||||
/*
|
||||
* All sub-objects must have their reference count incremented
|
||||
* All sub-objects must have their reference count updated
|
||||
* also. Different object types have different subobjects.
|
||||
*/
|
||||
switch (object->common.type) {
|
||||
@@ -559,6 +559,7 @@ acpi_ut_update_object_reference(union acpi_operand_object *object, u16 action)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
next_object = NULL;
|
||||
break;
|
||||
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele