Received: from eggs.gnu.org ([2001:4830:134:3::10]:39653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVzO4-0007y3-0M for qemu-devel@nongnu.org; Tue, 24 Jan 2017 06:35:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVzNz-0002V2-1F for qemu-devel@nongnu.org; Tue, 24 Jan 2017 06:35:44 -0500 Received: from indium.canonical.com ([91.189.90.7]:34515) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVzNy-0002Up-RL for qemu-devel@nongnu.org; Tue, 24 Jan 2017 06:35:38 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1cVzNw-0001GC-Li for ; Tue, 24 Jan 2017 11:35:36 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 9F0C52E80D2 for ; Tue, 24 Jan 2017 11:35:35 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 24 Jan 2017 11:26:03 -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: <20170124112603.1345.84385.malone@soybean.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 Thanks for this bug report -- I have sent a patch making the proposed change: http://lists.nongnu.org/archive/html/qemu- devel/2017-01/msg05030.html ** Changed in: qemu Status: New =3D> In Progress -- = 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: In Progress 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