Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2023 09:37:35 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        "freebsd-emulation@freebsd.org" <emulation@freebsd.org>
Subject:   Re: virtualbon-ose-kmod build fails with 14-CURRENT and llvm15
Message-ID:  <CAN6yY1tMKGBgHujM5oh8KzNZosKmeGvhDJ2pi7WREaoeHMA3aA@mail.gmail.com>
In-Reply-To: <CAN6yY1tQ3617Q3GkR0-RKjuJtYX5UDNHLFrFjR%2BEkrbt8NyPRw@mail.gmail.com>
References:  <CAN6yY1td9cRtj3BzMw-eAHS4HCAv049w3rjOpmjq-fCpmfp2Pw@mail.gmail.com> <Y/z2AGoKZ5gtu0Ks@spindle.one-eyed-alien.net> <CAN6yY1sSD6i85Bc8K409wR4W%2Bperxk-A5OM5KQg8m5yaKfdXxQ@mail.gmail.com> <Y/04blSCUsZ3JknV@spindle.one-eyed-alien.net> <CAN6yY1tQ3617Q3GkR0-RKjuJtYX5UDNHLFrFjR%2BEkrbt8NyPRw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000000fcc5505f5c60ef0
Content-Type: text/plain; charset="UTF-8"

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

--0000000000000fcc5505f5c60ef0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:tahoma,sans-serif;font-size:small"><br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Feb 27, 2023=
 at 3:40 PM Kevin Oberman &lt;<a href=3D"mailto:rkoberman@gmail.com">rkober=
man@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi=
ng-left:1ex"><div dir=3D"ltr"><div style=3D"font-family:tahoma,sans-serif;f=
ont-size:small">Thanks, Brooks! That seems to have been the right cast. At =
least it compiles correctly. I&#39;ll=C2=A0 test it after I reboot the new =
kernel and installworld, probably this evening.</div><div style=3D"font-fam=
ily:tahoma,sans-serif;font-size:small"><br></div><div style=3D"font-family:=
tahoma,sans-serif;font-size:small">I was a bit confused by what appeared as=
 a cast of a void to a void, but assumed I was just not understanding.<br><=
/div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_a=
ttr">On Mon, Feb 27, 2023 at 3:10 PM Brooks Davis &lt;<a href=3D"mailto:bro=
oks@freebsd.org" target=3D"_blank">brooks@freebsd.org</a>&gt; wrote:<br></d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex">Sorry, I misread the e=
rror message and lead you astray by suggesting<br>
the opposite of the correct thing.=C2=A0 The correct cast is probably<br>
(uintptr_t)pvUser.<br>
<br>
-- Brooks<br>
</blockquote></div><br></blockquote><div><span class=3D"gmail_default" styl=
e=3D"font-family:tahoma,sans-serif;font-size:small">The patched version of =
the kmod works correctly as far as my limited testing can tell. Thanks agai=
n for your help!</span></div><div><span class=3D"gmail_default" style=3D"fo=
nt-family:tahoma,sans-serif;font-size:small"><br></span></div><div style=3D=
"font-family:tahoma,sans-serif;font-size:small" class=3D"gmail_default">I w=
ill submit the patch upstream an see if it get a response. Is a patch to th=
e port appropriate until/unless it gets fixed?<br></div></div>-- <br><div d=
ir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"=
><div><div dir=3D"ltr"><div><div dir=3D"ltr">Kevin Oberman, Part time kid h=
erder and retired Network Engineer<br>E-mail: <a href=3D"mailto:rkoberman@g=
mail.com" target=3D"_blank">rkoberman@gmail.com</a><br></div><div>PGP Finge=
rprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683</div></div></div></div></d=
iv></div></div></div></div>

--0000000000000fcc5505f5c60ef0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tMKGBgHujM5oh8KzNZosKmeGvhDJ2pi7WREaoeHMA3aA>