Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2026 08:27:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 295926] FreeBSD 15.1-RC2 i386 compile error
Message-ID:  <bug-295926-227-1PlLp0Mm6t@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295926-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295926-227-1PlLp0Mm6t>