[Bug 295926] FreeBSD 15.1-RC2 i386 compile error
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 295926] FreeBSD 15.1-RC2 i386 compile error"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Jun 2026 08:27:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295926
--- Comment #2 from Martin Birgmeier <d8zNeCFG@aon.at> ---
Proposed patch:
iff --git a/sys/x86/x86/ucode.c b/sys/x86/x86/ucode.c
index 613a7b03489f..814805888fbd 100644
--- a/sys/x86/x86/ucode.c
+++ b/sys/x86/x86/ucode.c
@@ -369,7 +369,7 @@ map_ucode(const void *match, uintptr_t free, size_t len)
for (va = free; va < free + len; va += PAGE_SIZE)
pmap_kenter(va, (vm_paddr_t)va);
- memcpy_early(free, match, len);
+ memcpy_early((void *) free, match, len);
return ((const void *)free);
#else
(void)len;
-- Martin
--
You are receiving this mail because:
You are the assignee for the bug.