qemu-devel
[Top][All Lists]
Advanced

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

Re: [PULL 0/4] Net patches


From: Jason Wang
Subject: Re: [PULL 0/4] Net patches
Date: Tue, 29 Oct 2019 10:33:06 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0


On 2019/10/29 上午5:42, Peter Maydell wrote:
On Mon, 28 Oct 2019 at 06:35, Jason Wang <address@hidden> wrote:
The following changes since commit 187f35512106501fe9a11057f4d8705431e0026d:

   Merge remote-tracking branch 
'remotes/stsquad/tags/pull-testing-next-251019-3' into staging (2019-10-26 
10:13:48 +0100)

are available in the git repository at:

   https://github.com/jasowang/qemu.git tags/net-pull-request

for you to fetch changes up to 5af982a47cf6b6cd9beb872e5a9b940e43df5bf9:

   COLO-compare: Fix incorrect `if` logic (2019-10-28 14:28:31 +0800)

----------------------------------------------------------------

----------------------------------------------------------------
Hi -- I get this compile failure on some hosts (s390, aarch64,
aarch32, ppc):

/home/pm215/qemu/hw/net/tulip.c: In function ‘tulip_idblock_crc’:
/home/pm215/qemu/hw/net/tulip.c:859:9: error: comparison is always
true due to limited range of data type [-Werror=type-limits]
          for (bit = 15; bit >= 0; bit--) {
          ^

'bit' here is of type char, which can be either signed
or unsigned depending on the host. If it's unsigned
(as is the case on the above architectures), then the
loop will never terminate because "bit >= 0" is always true.
Plain old 'int' is probably a better choice anyway.


Yes, will fix and post V2.

Thanks



thanks
-- PMM





reply via email to

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