Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2024 08:13:39 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: f77abc3526d6 - stable/13 - acpidump: silent the warning about unaligned uuid
Message-ID:  <202404170813.43H8Dduj062273@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

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

commit f77abc3526d674631afeb717d3eea3ef4f534246
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-04-03 02:58:28 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-04-17 08:13:17 +0000

    acpidump: silent the warning about unaligned uuid
    
    (cherry picked from commit de937ecb75ed4d61fc06dd380f9bf6be998502e9)
---
 usr.sbin/acpi/acpidump/acpi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/acpi/acpidump/acpi.c b/usr.sbin/acpi/acpidump/acpi.c
index 61e86c09675e..d9650b9268ec 100644
--- a/usr.sbin/acpi/acpidump/acpi.c
+++ b/usr.sbin/acpi/acpidump/acpi.c
@@ -1597,7 +1597,7 @@ acpi_print_nfit(ACPI_NFIT_HEADER *nfit)
 		printf("\tRangeIndex=%u\n", (u_int)sysaddr->RangeIndex);
 		printf("\tProximityDomain=%u\n",
 		    (u_int)sysaddr->ProximityDomain);
-		uuid_to_string((uuid_t *)(sysaddr->RangeGuid),
+		uuid_to_string((uuid_t *)(uintptr_t)(sysaddr->RangeGuid),
 		    &uuidstr, &status);
 		if (status != uuid_s_ok)
 			errx(1, "uuid_to_string: status=%u", status);



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