Received: from eggs.gnu.org ([2001:4830:134:3::10]:45095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btHXh-0007Ph-KN for qemu-devel@nongnu.org; Sun, 09 Oct 2016 13:05:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btHXd-00013N-Bx for qemu-devel@nongnu.org; Sun, 09 Oct 2016 13:05:40 -0400 Received: from indium.canonical.com ([91.189.90.7]:38465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btHXd-00013E-5x for qemu-devel@nongnu.org; Sun, 09 Oct 2016 13:05:37 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1btHXb-0006Wb-Sz for ; Sun, 09 Oct 2016 17:05:35 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id D6EBE2E80C0 for ; Sun, 9 Oct 2016 17:05:35 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 09 Oct 2016 16:55:55 -0000 From: dcb <1631773@bugs.launchpad.net> Reply-To: Bug 1631773 <1631773@bugs.launchpad.net> Sender: bounces@canonical.com Message-Id: <20161009165555.4889.95289.malonedeb@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1631773] [NEW] hw/dma/pl080.c:354: possible typo ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: hw/dma/pl080.c:354:1: warning: V578 An odd bitwise operation detected: s->conf & (0x2 | 0x2). Consider verifying it. Source code is if (s->conf & (PL080_CONF_M1 | PL080_CONF_M1)) { Maybe better code if (s->conf & (PL080_CONF_M1 | PL080_CONF_M2)) { ** Affects: qemu Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1631773 Title: hw/dma/pl080.c:354: possible typo ? Status in QEMU: New Bug description: hw/dma/pl080.c:354:1: warning: V578 An odd bitwise operation detected: s->conf & (0x2 | 0x2). Consider verifying it. Source code is if (s->conf & (PL080_CONF_M1 | PL080_CONF_M1)) { Maybe better code if (s->conf & (PL080_CONF_M1 | PL080_CONF_M2)) { To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1631773/+subscriptions