Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 8b2906e

Browse files
alexVinarskisgregkh
authored andcommitted
ACPICA: iasl: handle empty connection_node
[ Upstream commit a0a2459 ] ACPICA commit 6c551e2c9487067d4b085333e7fe97e965a11625 Link: acpica/acpica@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>
1 parent f373196 commit 8b2906e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/acpi/acpica/exprep.c

+3
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,9 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info)
437437

438438
if (info->connection_node) {
439439
second_desc = info->connection_node->object;
440+
if (second_desc == NULL) {
441+
break;
442+
}
440443
if (!(second_desc->common.flags & AOPOBJ_DATA_VALID)) {
441444
status =
442445
acpi_ds_get_buffer_arguments(second_desc);

0 commit comments

Comments
 (0)