mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
acpidump: silent the warning about unaligned uuid
The field comes from the ACPI NFIT table and must be already properly aligned by BIOS (at least so is written in the spec). Reviewed by: markj Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44634
This commit is contained in:
parent
a0895e394d
commit
de937ecb75
|
@ -1596,7 +1596,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);
|
||||
|
|
Loading…
Reference in a new issue