qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PULL V2 00/33] Net patches


From: Peter Maydell
Subject: Re: [PULL V2 00/33] Net patches
Date: Fri, 19 Jun 2020 11:45:42 +0100

On Fri, 19 Jun 2020 at 04:19, Jason Wang <jasowang@redhat.com> wrote:
>
>
> On 2020/6/18 下午10:05, no-reply@patchew.org wrote:
> > /tmp/qemu-test/src/tests/qht-bench.c:287:29: error: implicit conversion 
> > from 'unsigned long' to 'double' changes value from 18446744073709551615 to 
> > 18446744073709551616 [-Werror,-Wimplicit-int-float-conversion]
> >          *threshold = rate * UINT64_MAX;
> >                            ~ ^~~~~~~~~~
> > /usr/include/stdint.h:130:23: note: expanded from macro 'UINT64_MAX'
> > ---
> > 18446744073709551615UL
> > ^~~~~~~~~~~~~~~~~~~~~~
>
>
> Cc Emilio.
>
> This looks an issue not related to this pull request.

Yes; it's caused by an upgrade of the compiler version on the
system/container that runs this asan test build for patchew.

This proposed patch would silence the complaint:
20200617201309.1640952-1-richard.henderson@linaro.org/20200617201309.1640952-7-richard.henderson@linaro.org/">https://patchew.org/QEMU/20200617201309.1640952-1-richard.henderson@linaro.org/20200617201309.1640952-7-richard.henderson@linaro.org/

but it is waiting for review and/or discussion of what
the right actual fix to the code would be.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]