We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a24118a + 40e2710 commit 6af7163Copy full SHA for 6af7163
drivers/acpi/acpica/dbnames.c
@@ -550,8 +550,12 @@ acpi_db_walk_for_fields(acpi_handle obj_handle,
550
ACPI_FREE(buffer.pointer);
551
552
buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER;
553
- acpi_evaluate_object(obj_handle, NULL, NULL, &buffer);
554
-
+ status = acpi_evaluate_object(obj_handle, NULL, NULL, &buffer);
+ if (ACPI_FAILURE(status)) {
555
+ acpi_os_printf("Could Not evaluate object %p\n",
556
+ obj_handle);
557
+ return (AE_OK);
558
+ }
559
/*
560
* Since this is a field unit, surround the output in braces
561
*/
0 commit comments