Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2025 20:24:22 GMT
From:      Eric van Gyzen <vangyzen@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9dd865a59edd - main - apei_detach: fix swi_remove parameter
Message-ID:  <202510042024.594KOMHA073538@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by vangyzen:

URL: https://cgit.FreeBSD.org/src/commit/?id=9dd865a59edda38e6a379c5081e9483a87abc1eb

commit 9dd865a59edda38e6a379c5081e9483a87abc1eb
Author:     Eric van Gyzen <vangyzen@FreeBSD.org>
AuthorDate: 2025-10-04 15:18:05 +0000
Commit:     Eric van Gyzen <vangyzen@FreeBSD.org>
CommitDate: 2025-10-04 15:20:01 +0000

    apei_detach: fix swi_remove parameter
    
    swi_remove expects a void *, but we were passing void **.
    
    MFC after:      1 week
    Sponsored by:   Dell Inc.
---
 sys/dev/acpica/acpi_apei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510042024.594KOMHA073538>