Page MenuHomeFreeBSD

D56808.id.diff
No OneTemporary

D56808.id.diff

diff --git a/sys/dev/acpica/acpi_spmc.c b/sys/dev/acpica/acpi_spmc.c
--- a/sys/dev/acpica/acpi_spmc.c
+++ b/sys/dev/acpica/acpi_spmc.c
@@ -643,7 +643,8 @@
status = acpi_GetHandleInScope(sc->handle,
__DECONST(char *, constraint->name), &constraint->handle);
if (ACPI_FAILURE(status)) {
- device_printf(dev, "failed to get handle for %s\n",
+ device_printf(dev,
+ "Constraints: Cannot get handle for %s, ignoring\n",
constraint->name);
constraint->handle = NULL;
}
@@ -665,16 +666,6 @@
if (constraint->handle == NULL)
continue;
- ACPI_STATUS status = acpi_GetHandleInScope(sc->handle,
- __DECONST(char *, constraint->name), &constraint->handle);
- if (ACPI_FAILURE(status)) {
- device_printf(sc->dev, "failed to get handle for %s\n",
- constraint->name);
- constraint->handle = NULL;
- }
- if (constraint->handle == NULL)
- continue;
-
#ifdef notyet
int d_state;
if (ACPI_FAILURE(acpi_pwr_get_state(constraint->handle, &d_state)))

File Metadata

Mime Type
text/plain
Expires
Wed, May 27, 1:17 PM (2 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33015430
Default Alt Text
D56808.id.diff (1005 B)

Event Timeline