Commit 6af71633 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

Merge branch 'acpica'

* acpica:
  ACPICA: debugger: check status of acpi_evaluate_object() in acpi_db_walk_for_fields()
parents a24118a8 40e27108
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -550,8 +550,12 @@ acpi_db_walk_for_fields(acpi_handle obj_handle,
	ACPI_FREE(buffer.pointer);

	buffer.length = ACPI_ALLOCATE_LOCAL_BUFFER;
	acpi_evaluate_object(obj_handle, NULL, NULL, &buffer);

	status = acpi_evaluate_object(obj_handle, NULL, NULL, &buffer);
	if (ACPI_FAILURE(status)) {
		acpi_os_printf("Could Not evaluate object %p\n",
			       obj_handle);
		return (AE_OK);
	}
	/*
	 * Since this is a field unit, surround the output in braces
	 */