kernel/drivers/acpi/acpica/dbnames.c
.. .. @@ -652,6 +652,9 @@ 652 652 object_info = 653 653 ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_object_info)); 654 654 655 + if (!object_info)656 + return (AE_NO_MEMORY);657 +655 658 /* Walk the namespace from the root */ 656 659 657 660 (void)acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,