Received: from eggs.gnu.org ([2001:4830:134:3::10]:59041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2Ylh-0000aR-Oh for qemu-devel@nongnu.org; Mon, 24 Apr 2017 03:50:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2Ylf-0004F2-SW for qemu-devel@nongnu.org; Mon, 24 Apr 2017 03:50:45 -0400 Received: from indium.canonical.com ([91.189.90.7]:38599) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d2Ylf-0004Em-MJ for qemu-devel@nongnu.org; Mon, 24 Apr 2017 03:50:43 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1d2Yle-0005K4-He for ; Mon, 24 Apr 2017 07:50:42 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 840642E80C2 for ; Mon, 24 Apr 2017 07:50:42 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 24 Apr 2017 07:40:55 -0000 From: Thomas Huth <1658506@bugs.launchpad.net> Reply-To: Bug 1658506 <1658506@bugs.launchpad.net> Sender: bounces@canonical.com References: <20170122193434.14023.61016.malonedeb@soybean.canonical.com> Message-Id: <20170424074056.6172.31421.launchpad@chaenomeles.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 ** Changed in: qemu Status: Fix Committed =3D> Fix Released -- = 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 Released 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