qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL 0/8] Net patches


From: Peter Maydell
Subject: Re: [Qemu-devel] [PULL 0/8] Net patches
Date: Mon, 24 Apr 2017 14:49:30 +0100

On 24 April 2017 at 06:15, Jason Wang <address@hidden> wrote:
> The following changes since commit 32c7e0ab755745e961f1772e95cac381cc68769d:
>
>   Merge remote-tracking branch 'remotes/juanquintela/tags/migration/20170421' 
> into staging (2017-04-21 15:59:27 +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 049f6d8237dd0b14dee02e4c22b20114c43cecff:
>
>   COLO-compare: Optimize tcp compare trace event (2017-04-24 11:30:36 +0800)
>
> ----------------------------------------------------------------
>
> ----------------------------------------------------------------

Hi. Clang picks up what looks like a typo:

/Users/pm215/src/qemu-for-merges/hw/net/ftgmac100.c:809:33: error: use
of logical '&&' with constant operand
[-Werror,-Wconstant-logical-operand]
    if (size < 64 && !(s->maccr && FTGMAC100_MACCR_RX_RUNT)) {
                                ^  ~~~~~~~~~~~~~~~~~~~~~~~
/Users/pm215/src/qemu-for-merges/hw/net/ftgmac100.c:809:33: note: use
'&' for a bitwise operation
    if (size < 64 && !(s->maccr && FTGMAC100_MACCR_RX_RUNT)) {
                                ^~
                                &
/Users/pm215/src/qemu-for-merges/hw/net/ftgmac100.c:809:33: note:
remove constant to silence this warning
    if (size < 64 && !(s->maccr && FTGMAC100_MACCR_RX_RUNT)) {
                               ~^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


thanks
-- PMM



reply via email to

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