[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] migration: fix xbzrle encoding rate calculation
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [PATCH] migration: fix xbzrle encoding rate calculation |
Date: |
Wed, 10 Jun 2020 20:07:20 +0100 |
User-agent: |
Mutt/1.14.0 (2020-05-02) |
* Richard Henderson (richard.henderson@linaro.org) wrote:
> On 6/7/20 5:53 PM, Wei Wang wrote:
> > It's reported an error of implicit conversion from "unsigned long" to
> > "double" when compiling with Clang 10. Simply make the encoding rate 0
> > when the encoded_size is 0.
> >
> > Fixes: e460a4b1a4
> > Reported-by: Richard Henderson <richard.henderson@linaro.org>
> > Signed-off-by: Wei Wang <wei.w.wang@intel.com>
> > ---
> > migration/ram.c | 4 +---
> > 1 file changed, 1 insertion(+), 3 deletions(-)
>
> Queuing to a clang 10 fixes branch.
Thanks
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Dave
>
>
> r~
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK