Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157924717
D56808.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1005 B
Referenced Files
None
Subscribers
None
D56808.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D56808: acpi_spmc(4): Constraints: Clearer message on handle retrieve error
Attached
Detach File
Event Timeline
Log In to Comment