Skip to content

Commit

Permalink
ACPICA: iasl: handle empty connection_node
Browse files Browse the repository at this point in the history
[ Upstream commit a0a2459 ]

ACPICA commit 6c551e2c9487067d4b085333e7fe97e965a11625

Link: acpica/acpica@6c551e2c
Signed-off-by: Aleksandrs Vinarskis <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
alexVinarskis authored and gregkh committed Oct 10, 2024
1 parent 9f91a52 commit edb7426
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/acpi/acpica/exprep.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,9 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info)

if (info->connection_node) {
second_desc = info->connection_node->object;
if (second_desc == NULL) {
break;
}
if (!(second_desc->common.flags & AOPOBJ_DATA_VALID)) {
status =
acpi_ds_get_buffer_arguments(second_desc);
Expand Down

0 comments on commit edb7426

Please sign in to comment.