aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Certner <olce@FreeBSD.org>2026-05-04 11:56:52 +0000
committerOlivier Certner <olce@FreeBSD.org>2026-05-13 12:38:18 +0000
commitbeca41dfb55f0b83612fe8a2aec508944c4b2138 (patch)
tree8de1748b82ed88239e4c5dd41d07f1dc96f87dec
parenta652d97630599c089a722d4cb881e2731c5336a8 (diff)
acpi_spmc(4): Remove XXX from a comment about retrieving constraints
There is really nothing we can do about a DSM function that works on first call but fails on subsequent calls, except calling it only once, which we already do. While here, soften the comment message, as failure was observed with some specific machines only. No functional change. Reviewed by: emaste, obiwac Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D56799
-rw-r--r--sys/dev/acpica/acpi_spmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_spmc.c b/sys/dev/acpica/acpi_spmc.c
index d8fa5617c8bf..36a2c20e6be8 100644
--- a/sys/dev/acpica/acpi_spmc.c
+++ b/sys/dev/acpica/acpi_spmc.c
@@ -451,7 +451,7 @@ acpi_spmc_get_constraints(device_t dev)
dsm_index.regular = DSM_GET_DEVICE_CONSTRAINTS;
}
- /* XXX It seems like this DSM fails if called more than once. */
+ /* It seems like this DSM can fail if called more than once. */
status = acpi_EvaluateDSMTyped(sc->handle, (uint8_t *)&dsm_set->uuid,
dsm_set->revision, dsm_index.i, NULL, &result,
ACPI_TYPE_PACKAGE);