[Bug 295975] sys/x86/x86/ucode.c: c6ccef4a32b4e breaks compile on i386
Date: Sat, 13 Jun 2026 08:27:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295975
--- Comment #3 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.