Re: virtualbon-ose-kmod build fails with 14-CURRENT and llvm15
Date: Tue, 28 Feb 2023 17:37:35 UTC
On Mon, Feb 27, 2023 at 3:40 PM Kevin Oberman <rkoberman@gmail.com> wrote: > Thanks, Brooks! That seems to have been the right cast. At least it > compiles correctly. I'll test it after I reboot the new kernel and > installworld, probably this evening. > > I was a bit confused by what appeared as a cast of a void to a void, but > assumed I was just not understanding. > > On Mon, Feb 27, 2023 at 3:10 PM Brooks Davis <brooks@freebsd.org> wrote: > >> Sorry, I misread the error message and lead you astray by suggesting >> the opposite of the correct thing. The correct cast is probably >> (uintptr_t)pvUser. >> >> -- Brooks >> > > The patched version of the kmod works correctly as far as my limited testing can tell. Thanks again for your help! I will submit the patch upstream an see if it get a response. Is a patch to the port appropriate until/unless it gets fixed? -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683