From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjBPx-0000hW-Bi for qemu-devel@nongnu.org; Mon, 05 Oct 2015 15:27:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjBPw-0002Iq-CI for qemu-devel@nongnu.org; Mon, 05 Oct 2015 15:27:25 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:34504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjBPw-0002Ig-5t for qemu-devel@nongnu.org; Mon, 05 Oct 2015 15:27:24 -0400 Received: by wicfx3 with SMTP id fx3so135228694wic.1 for ; Mon, 05 Oct 2015 12:27:23 -0700 (PDT) Sender: Paolo Bonzini References: <1441619584-17992-1-git-send-email-pbonzini@redhat.com> <1441619584-17992-4-git-send-email-pbonzini@redhat.com> <55FAE3A9.5090907@redhat.com> <55FAEB33.50809@redhat.com> <20151005181113.GK1260@thinpad.lan.raisama.net> From: Paolo Bonzini Message-ID: <5612CF16.5090104@redhat.com> Date: Mon, 5 Oct 2015 21:27:18 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/4] checkpatch: adapt some tests to QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Eduardo Habkost Cc: QEMU Developers , Andreas Faerber , Markus Armbruster On 05/10/2015 20:47, Peter Maydell wrote: > On 5 October 2015 at 19:11, Eduardo Habkost wrote: >> On Sun, Oct 04, 2015 at 07:44:29PM +0100, Peter Maydell wrote: >>> On 17 September 2015 at 17:32, Paolo Bonzini wrote: >>>> >>>> >>>> On 17/09/2015 18:16, Peter Maydell wrote: >>>>> On 17 September 2015 at 17:00, Paolo Bonzini wrote: >>>>>> >>>>>> >>>>>> On 17/09/2015 16:24, Peter Maydell wrote: >>>>>>> Can we revert this one, please? Checkpatch now warns about constructs >>>>>>> like >>>>>>> typedef struct MyDevice { >>>>>>> DeviceState parent; >>>>>>> >>>>>>> int reg0, reg1, reg2; >>>>>>> } MyDevice; >>> >>>> I think it varies depending on the maintainer. PPC, USB, SCSI, ACPI all >>>> use a separate typedef. I'll prepare a revert. >>> >>> Ping on that revert patch? I can't find it onlist... >> >> The x86 pull request I sent today triggers this error, BTW. I hope it >> won't make the pull request be automatically rejected. > > Nope, because I don't run checkpatch on pull requests. I've sent the patch today, by the way. Sorry for the delay. Paolo