Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp646923pxk; Thu, 24 Sep 2020 14:55:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTIxwHm7Ueovtw51tpkgfCn/82wP1zN18eF8mNGaow5BeZ0FTjzSAVXfeY++HuiI+q2sYv X-Received: by 2002:a50:d4d8:: with SMTP id e24mr882948edj.1.1600984514565; Thu, 24 Sep 2020 14:55:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600984514; cv=none; d=google.com; s=arc-20160816; b=FH4lwXMs2Z5cRa1hd4UubDjkQx19FvHJCdorjUhW9R0sShWel917/iZriVDRWr0N7q xT+xhGy3kzTVpy4kGsb0qPUJh2kKGJ+WgNIW5gAYbhVEtN/XviQr/cVWszdbN1A6UNoT A/Pvx7ib5rGOj27UE4w4u6ot6ZH1HmSl99Fb/8gjqq5wwOknLXZig0yAE02zhWtL56C+ c6xRdzZyQVA5QaBsaULI+m8vpLGQkTZRZiuyfuZykG+9x3OXUaqlEvOBmHFIMaaKajVP z/LwE/VAOeFWOZlqv6ZW0b/7j5KnkPN+yBg2bURmkwrOSv0lxLPwDUAnmK9nSwvpL4yj PGIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:in-reply-to:subject :cc:to:dkim-signature:dkim-signature:from; bh=50ls+vBq+FfTMVSndh/JUjpk9M8gYW0WEmaHS52ov8k=; b=EtCSEnKK5PC510ydhuPUjPe02qOD8Ya6l0jv7JF/kPVzDqSiSFAY668Q49q76oC3Wg 2vg3b/k5s0aq5+3JcwhZRLsLmfCHp0/MENU7jTIVQMdABlc+rrSwW5wnatPlouEMQCSA u08I/F0bp9dBMh+jQdhVGM6QED9+13s9Ps9qDV0jU2UfD1hTK2iRYgumjNPRl1jvjcxH p5NxSqwbU/TSJLSU6f8edWkuKFqLHMGtT1CSyLBvXJ1pqQa5yOOxevlTajIWYJ0L4DTB UbaXMf1gRsP/R7QCF4Ht2j6Zu5TZ378fdvS2oNsszX/zRYZ1Lzh6o0ts37s9WC+njaIA RtYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=BjoKxTy1; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mh13si548640ejb.244.2020.09.24.14.54.51; Thu, 24 Sep 2020 14:55:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=BjoKxTy1; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726685AbgIXVxs (ORCPT + 99 others); Thu, 24 Sep 2020 17:53:48 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:51554 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726626AbgIXVxs (ORCPT ); Thu, 24 Sep 2020 17:53:48 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1600984426; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=50ls+vBq+FfTMVSndh/JUjpk9M8gYW0WEmaHS52ov8k=; b=BjoKxTy1U6UgZenE4M+pedzTdDBWmjQjQobkRZ5JK4lp1hYD1pfZm3CE/cIgodrnxeCktm TdMByqmjJxy4enCTDib0fm6j4Vk6BpKGDfXLwzOeodvasek+5B55/FneJPmWlLppzJ9Mpr H1dMhMm9NN4/n+McjtE6vNahwMzEgazKwiuPh5fHdOo2KD98HmawEYn5aLZkQm1EMT3TCa D+OmRqgoUd3e43vMDMwycVh/JTdVIWrnY3I440zpS4gzEZXJdiBruez/KOab/1wv7+BhF4 RT65yv/uHvDsGUuW1DPergoCvEzHnmdO78CKOgwuejWsAfwOMKO9lfNlzG7TSg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1600984426; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=50ls+vBq+FfTMVSndh/JUjpk9M8gYW0WEmaHS52ov8k=; b=k3Osk55T4BVLeOs/VuJRBYoV8EVmF++pnR29w1CC/rwV5NEARaHvp4iSy1FBHeDCIevC4W /AYlGdBVgp8Vq7Dg== To: Joe Perches , Julia Lawall Cc: Valdis =?utf-8?Q?Kl=C4=93tnieks?= , kernel-janitors , kernelnewbies , linux-kernel-mentees@lists.linuxfoundation.org, Andrew Morton , cocci , Giuseppe Scrivano , LKML , Andy Whitcroft Subject: Re: [Cocci] coccinelle: Convert comma to semicolons (was Re: [PATCH] checkpatch: Add test for comma use that should be semicolon) In-Reply-To: <6d5383a3ec02d89dd05797c3ae158aebdc0c88ae.camel@perches.com> Date: Thu, 24 Sep 2020 23:53:46 +0200 Message-ID: <87r1qqvo2d.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 24 2020 at 13:33, Joe Perches wrote: > On Thu, 2020-09-24 at 22:19 +0200, Thomas Gleixner wrote: >> On Sat, Aug 22 2020 at 09:07, Julia Lawall wrote: >> > On Fri, 21 Aug 2020, Joe Perches wrote: >> > > True enough for a general statement, though the coccinelle >> > > script Julia provided does not change a single instance of >> > > for loop expressions with commas. >> > > >> > > As far as I can tell, no logic defect is introduced by the >> > > script at all. >> > >> > The script has a rule to ensure that what is changed is part of a top >> > level statement that has the form e1, e2;. I put that in to avoid >> > transforming cases where the comma is the body of a macro, but it protects >> > against for loop headers as well. >> >> Right. I went through the lot and did not find something dodgy. Except >> for two hunks this still applies. Can someone please send a proper patch >> with changelog/SOB etc. for this? > > Treewide? > > Somebody no doubt would complain, but there > _really should_ be some mechanism for these > trivial and correct treewide changes... There are lots of mechanisms: - Andrew picks such changes up - With a few competent eyeballs on it (reviewers) this can go thorugh the trivial tree as well. It's more than obvious after all. - Send the script to Linus with a proper change log attached and ask him to run it. - In the worst case if nobody feels responsible, I'll take care. All of the above is better than trying to get the attention of a gazillion of maintainters. Thanks, tglx