aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric van Gyzen <vangyzen@FreeBSD.org>2025-10-04 15:18:05 +0000
committerEric van Gyzen <vangyzen@FreeBSD.org>2025-10-04 15:20:01 +0000
commit9dd865a59edda38e6a379c5081e9483a87abc1eb (patch)
treea617e920000155162577082190dca318773f7540
parent01b0690c495e1043a72cae9ee945f9f2c2adc216 (diff)
apei_detach: fix swi_remove parameter
swi_remove expects a void *, but we were passing void **. MFC after: 1 week Sponsored by: Dell Inc.
-rw-r--r--sys/dev/acpica/acpi_apei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_apei.c b/sys/dev/acpica/acpi_apei.c
index 9cfd46c97430..624c81ad1b4f 100644
--- a/sys/dev/acpica/acpi_apei.c
+++ b/sys/dev/acpica/acpi_apei.c
@@ -754,7 +754,7 @@ apei_detach(device_t dev)
apei_nmi = NULL;
apei_nmi_nges = NULL;
if (sc->nges.swi_ih != NULL) {
- swi_remove(&sc->nges.swi_ih);
+ swi_remove(sc->nges.swi_ih);
sc->nges.swi_ih = NULL;
}
if (acpi_get_handle(dev) != NULL) {