Received: from eggs.gnu.org ([2001:4830:134:3::10]:42168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn3pD-0006QU-3W for qemu-devel@nongnu.org; Fri, 16 Oct 2015 08:09:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn3p8-0001wR-39 for qemu-devel@nongnu.org; Fri, 16 Oct 2015 08:09:30 -0400 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:33810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn3p7-0001wJ-Sx for qemu-devel@nongnu.org; Fri, 16 Oct 2015 08:09:25 -0400 Received: by wicgb1 with SMTP id gb1so6817531wic.1 for ; Fri, 16 Oct 2015 05:09:25 -0700 (PDT) Date: Fri, 16 Oct 2015 14:09:23 +0200 From: Stefan Hajnoczi Message-ID: <20151016120923.GE10205@stefanha-thinkpad.redhat.com> References: <20150920100850.1707.44945.malonedeb@gac.canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150920100850.1707.44945.malonedeb@gac.canonical.com> Subject: Re: [Qemu-devel] [Bug 1497711] [NEW] tests/libqos/ahci.c:745: redundant condition ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dcb <1497711@bugs.launchpad.net> Cc: John Snow , qemu-devel@nongnu.org On Sun, Sep 20, 2015 at 10:08:49AM -0000, dcb wrote: > Public bug reported: > > [qemu/tests/libqos/ahci.c:745]: (style) Redundant condition: props.ncq. > '!props.ncq || (props.ncq && props.lba48)' is equivalent to '!props.ncq > || props.lba48' > > g_assert(!props->ncq || (props->ncq && props->lba48)); CCing John Snow, AHCI maintainer