Received: from eggs.gnu.org ([140.186.70.92]:46305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqpok-0006wU-5P for qemu-devel@nongnu.org; Tue, 09 Aug 2011 13:10:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qqpog-0001cb-He for qemu-devel@nongnu.org; Tue, 09 Aug 2011 13:10:14 -0400 Received: from mail-gy0-f173.google.com ([209.85.160.173]:47200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqpog-0001cM-Er for qemu-devel@nongnu.org; Tue, 09 Aug 2011 13:10:10 -0400 Received: by gyd12 with SMTP id 12so177243gyd.4 for ; Tue, 09 Aug 2011 10:10:09 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1312554976-5822-1-git-send-email-anthony.perard@citrix.com> <4E3C1FFF.8070409@codemonkey.ws> Date: Tue, 9 Aug 2011 18:10:08 +0100 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] e1000: Do reset when E1000_CTRL_RST bit is set. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony PERARD Cc: QEMU-devel On 9 August 2011 15:10, Anthony PERARD wrote: > On Fri, Aug 5, 2011 at 17:53, Anthony Liguori wro= te: >> >> You'll break some GCCs with -Wall -Werror with this. =C2=A0Please do: >> >> if ((val & E1000_CTRL_RST)) { > > :(, I never heard of this. But OK, I will do that. Please don't unless Anthony L can actually demonstrate a compiler which has this property and doesn't already complain about all the existing equivalent code in qemu... -- PMM