From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOpjW-00047u-7F for qemu-devel@nongnu.org; Fri, 20 Feb 2015 10:43:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOpjS-00006J-1I for qemu-devel@nongnu.org; Fri, 20 Feb 2015 10:43:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOpjR-00006E-Pd for qemu-devel@nongnu.org; Fri, 20 Feb 2015 10:43:09 -0500 Date: Fri, 20 Feb 2015 16:43:06 +0100 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Message-ID: <20150220154305.GC18126@potion.brq.redhat.com> References: <1424441905-5735-1-git-send-email-rkrcmar@redhat.com> <1424441905-5735-2-git-send-email-rkrcmar@redhat.com> <54E746CE.7020409@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <54E746CE.7020409@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/2] fix GCC 5.0.0 logical-not-parentheses warnings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Michael Walle , qemu-devel@nongnu.org 2015-02-20 15:38+0100, Paolo Bonzini: > On 20/02/2015 15:18, Radim Kr=C4=8Dm=C3=A1=C5=99 wrote: > > - if (!!n->vhost_started =3D=3D > > + if ((!!n->vhost_started) =3D=3D > > (virtio_net_started(n, status) && !nc->peer->link_down)) { >=20 > Does it still break if you just swap the terms? No (there is no logical not on left side then), will do that.