Re: [PATCH] migration: fix xbzrle encoding rate calculation

2020-06-10 Thread Dr. David Alan Gilbert
* Richard Henderson (richard.hender...@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:

Re: [PATCH] migration: fix xbzrle encoding rate calculation

2020-06-10 Thread Richard Henderson
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 > Signed-off-by: Wei Wang >

Re: [PATCH] migration: fix xbzrle encoding rate calculation

2020-06-08 Thread Richard Henderson
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 > Signed-off-by: Wei Wang >

[PATCH] migration: fix xbzrle encoding rate calculation

2020-06-07 Thread Wei Wang
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 Signed-off-by: Wei Wang --- migration/ram.c | 4 +--- 1 file changed, 1