ACPICA: iasl: handle empty connection_node
[ Upstream commit a0a2459b79414584af6c46dd8c6f866d8f1aa421 ] ACPICA commit 6c551e2c9487067d4b085333e7fe97e965a11625 Link: https://github.com/acpica/acpica/commit/6c551e2c Signed-off-by: Aleksandrs Vinarskis <alex.vinarskis@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
09e4ae353c
commit
ea69502703
@@ -437,6 +437,9 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info)
|
|||||||
|
|
||||||
if (info->connection_node) {
|
if (info->connection_node) {
|
||||||
second_desc = info->connection_node->object;
|
second_desc = info->connection_node->object;
|
||||||
|
if (second_desc == NULL) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
if (!(second_desc->common.flags & AOPOBJ_DATA_VALID)) {
|
if (!(second_desc->common.flags & AOPOBJ_DATA_VALID)) {
|
||||||
status =
|
status =
|
||||||
acpi_ds_get_buffer_arguments(second_desc);
|
acpi_ds_get_buffer_arguments(second_desc);
|
||||||
|
|||||||
Reference in New Issue
Block a user