Received: from eggs.gnu.org ([2001:4830:134:3::10]:36111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1camaS-0007kd-Hq for qemu-devel@nongnu.org; Mon, 06 Feb 2017 11:56:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1camaP-0007sn-Iq for qemu-devel@nongnu.org; Mon, 06 Feb 2017 11:56:20 -0500 Received: from indium.canonical.com ([91.189.90.7]:36328) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1camaP-0007sA-Cr for qemu-devel@nongnu.org; Mon, 06 Feb 2017 11:56:17 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1camaN-0002xM-FX for ; Mon, 06 Feb 2017 16:56:15 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 60BBF2E80E7 for ; Mon, 6 Feb 2017 16:56:11 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 06 Feb 2017 16:45:52 -0000 From: Peter Maydell Reply-To: Bug 1658506 <1658506@bugs.launchpad.net> Sender: bounces@canonical.com References: <20170122193434.14023.61016.malonedeb@soybean.canonical.com> Message-Id: <20170206164552.26005.8155.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1658506] Re: qemu/hw/intc/arm_gicv3_cpuif.c:2433: bad expression ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Now fixed in git master, commit d87576e38df7. ** Changed in: qemu Status: In Progress =3D> Fix Committed -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1658506 Title: qemu/hw/intc/arm_gicv3_cpuif.c:2433: bad expression ? Status in QEMU: Fix Committed Bug description: qemu/hw/intc/arm_gicv3_cpuif.c:2433]: (style) Expression '(X & 0x2000000000000000) =3D=3D 0x1' is always false. Source code is ((lr & ICH_LR_EL2_HW) =3D=3D 1 || (lr & ICH_LR_EL2_EOI) =3D=3D= 0)) { Maybe better code ((lr & ICH_LR_EL2_HW) !=3D 0 || (lr & ICH_LR_EL2_EOI) =3D=3D 0= )) { To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1658506/+subscriptions