Message ID | 1534870966-9287-28-git-send-email-pbonzini@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="VNviuyd0"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41vy8p2LGhz9s3Z for <incoming@patchwork.ozlabs.org>; Wed, 22 Aug 2018 03:19:37 +1000 (AEST) Received: from localhost ([::1]:55016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fsAJa-0007G0-TF for incoming@patchwork.ozlabs.org; Tue, 21 Aug 2018 13:19:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1fsA4S-0001kk-0Y for qemu-devel@nongnu.org; Tue, 21 Aug 2018 13:03:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1fsA4I-0006TX-OI for qemu-devel@nongnu.org; Tue, 21 Aug 2018 13:03:53 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:38389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1fsA49-00068m-4K for qemu-devel@nongnu.org; Tue, 21 Aug 2018 13:03:39 -0400 Received: by mail-wr1-x443.google.com with SMTP id w11-v6so13895971wrc.5 for <qemu-devel@nongnu.org>; Tue, 21 Aug 2018 10:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=VFm0OnaoNsKOMdgsTLDJ3UPza1uBfxIubwpfyVLYcCE=; b=VNviuyd0hi9FaT6mPa6eadt9YCNdF45XwArFFcJxbWHZ/yDnNaQ9HzWoAkptMF79DD X5lTXqRaFI51/qYdLk0nloeO8RLpYGTGXC9KJpGcVi5ozO97qVHHYdXgi+wQsP0O80/6 Wva0uZnNPgCqZ4a+ixMSj4QPynQpx40esSp5Xp3EirXlTOMGe1UyU4HwV+O9/h50CStw CqZfps4wSOJa4HzQNZ6V0fr3Zys3e5lQy6OmwGSmHj3NElrtrDc6/JG1DvY8rOEYq/SB T30Sd2Gzw5SjJZlP7MwCfbEXuTGrlEpT9J8rIhXWDLRLqRzk66OfNpMsEW2yRmLi99CK ufjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=VFm0OnaoNsKOMdgsTLDJ3UPza1uBfxIubwpfyVLYcCE=; b=TEfWFtxb0qSPC+uzEVLrLOb2ZX9kL3WnEFjCXGkGnUV1qsCPox6kv6EEwp3bwgqImY fClf8u4PUmfW6HoLuWGIyI4eEeEssTcIiwo8W+aweEVYvNlW0JU183jec/CaV8HWCmVP zE8e3IXWcaRo1w94PHrIWPVJMSNWaPuQxtLkZgCI0VauWQpvdOBRjrE585HikQgWnYoY +MN4Wktmr/uu9Gfi6voSyXXMAmqCBxnTydMf3bj/DEyAreqawThqrfolOixS9IKp/6Uu 7zr7Lww2tM8WUFNMKgFUUq8c/PtTofnrb1MFqfEsuWxWT2hxdIlvTaG7C9KU6LRkyy8m fyEQ== X-Gm-Message-State: APzg51CDaxz5i9pYgG4fT0mKAz9flp6E9KSwUJVoqPAU4prKBierXkwg 6i6CCRV1rLV2Q6ZZ2rs5rLON1H2L X-Google-Smtp-Source: ANB0VdY7WnFlDiGoIg//sKIZUzAPmr9JkSzENEsVPa+vq7pMbu6nQx2TLyupsUw+gIstx9fTBzj+0A== X-Received: by 2002:a5d:488c:: with SMTP id g12-v6mr4752504wrq.0.1534871012141; Tue, 21 Aug 2018 10:03:32 -0700 (PDT) Received: from 640k.lan (dynamic-adsl-78-12-184-244.clienti.tiscali.it. [78.12.184.244]) by smtp.gmail.com with ESMTPSA id v6-v6sm2608955wmc.43.2018.08.21.10.03.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 10:03:31 -0700 (PDT) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Date: Tue, 21 Aug 2018 19:01:59 +0200 Message-Id: <1534870966-9287-28-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1534870966-9287-1-git-send-email-pbonzini@redhat.com> References: <1534870966-9287-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 Subject: [Qemu-devel] [PULL 27/74] checkpatch: allow space in more places before a bracket X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>, Andrew Morton <akpm@linux-foundation.org>, Linus Torvalds <torvalds@linux-foundation.org> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
[PULL,01/74] tests: virtio: separate ccw tests from libqos
|
expand
|
This is commit 38dca988bb20 ("checkpatch: allow space between colon and bracket") upstream, why is that not mentioned anywhere? *Please* mention the upstream commits when back-porting things. Linus On Tue, Aug 21, 2018 at 10:03 AM Paolo Bonzini <pbonzini@redhat.com> wrote: > > From: Heinrich Schuchardt <xypron.glpk@gmx.de> > > Allow a space between a colon and subsequent opening bracket. This > sequence may occur in inline assembler statements like
On 21/08/2018 20:38, Linus Torvalds wrote: > This is commit 38dca988bb20 ("checkpatch: allow space between colon > and bracket") upstream, why is that not mentioned anywhere? Trivially because I used "git commit -c" instead of "git cherry-pick" (I don't remember exactly why, probably I did the patch quickly and only later noticed that Linux had already fixed the same thing). I did mention Linux commit daebc534ac in the commit message, but not 38dca988bb20. Paolo > *Please* mention the upstream commits when back-porting things. > > Linus > > > On Tue, Aug 21, 2018 at 10:03 AM Paolo Bonzini <pbonzini@redhat.com> wrote: >> >> From: Heinrich Schuchardt <xypron.glpk@gmx.de> >> >> Allow a space between a colon and subsequent opening bracket. This >> sequence may occur in inline assembler statements like
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 0553634..3765b0e 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1929,9 +1929,8 @@ sub process { my ($where, $prefix) = ($-[1], $1); if ($prefix !~ /$Type\s+$/ && ($where != 0 || $prefix !~ /^.\s+$/) && - $prefix !~ /{\s+$/ && $prefix !~ /\#\s*define[^(]*\([^)]*\)\s+$/ && - $prefix !~ /,\s+$/) { + $prefix !~ /[,{:]\s+$/) { ERROR("space prohibited before open square bracket '['\n" . $herecurr); } }