The branch stable/15 has been updated by bz:

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

commit aa673b7101d9ca8c2f1353d1d5093fb548f8388d
Author:     Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2025-09-04 20:23:31 +0000
Commit:     Bjoern A. Zeeb <b...@freebsd.org>
CommitDate: 2025-09-15 14:51:36 +0000

    LinuxKPI: acpi; fix type to acpi_get_handle()
    
    The native AcpiGetHandle() and acpi_get_handle() take a
    const char * argument for pathname and not an acpi_string (char *).
    For that they spell it out fully as 'const char *', so should we.
    
    Sponsored by:   The FreeBSD Foundation (intially)
    Reviewed by:    dumbbell
    Differential Revision:  https://reviews.freebsd.org/D52072
    
    (cherry picked from commit c1264b6238c97810849bc38818d27c1ade1d4fc1)
---
 sys/compat/linuxkpi/common/include/acpi/acpi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/include/acpi/acpi.h 
b/sys/compat/linuxkpi/common/include/acpi/acpi.h
index 016c7ede0f6e..9bb435591daa 100644
--- a/sys/compat/linuxkpi/common/include/acpi/acpi.h
+++ b/sys/compat/linuxkpi/common/include/acpi/acpi.h
@@ -131,7 +131,7 @@ acpi_format_exception(ACPI_STATUS Exception)
 }
 
 static inline ACPI_STATUS
-acpi_get_handle(ACPI_HANDLE Parent, ACPI_STRING Pathname,
+acpi_get_handle(ACPI_HANDLE Parent, const char *Pathname,
     ACPI_HANDLE *RetHandle)
 {
        return (AcpiGetHandle(Parent, Pathname, RetHandle));

Reply via email to