Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp604698pxk; Thu, 24 Sep 2020 13:34:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBHycoE5iiL7OuztO0Dus/yModRznn8iQd6ZgOCSwKdK2ABaKvO7enyFwUePm1p/cTAUkM X-Received: by 2002:aa7:da16:: with SMTP id r22mr643604eds.132.1600979677913; Thu, 24 Sep 2020 13:34:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600979677; cv=none; d=google.com; s=arc-20160816; b=KEug/J31ii3+7Rbt01rU3IRc+3xoYtXkxP+0xXD7O8ISpAcgqkwVbm5kXQn8r6Q+QF lHP92k7EIlhSM8wAUSfsyxtjF8ZDVSziXoY6cTT+yKhsUMK469dIrjtw3CJ0TtMaWuNi i9JMCgLLkPI1C6IMNYF2+F3dSxw8kWYd+KlV397tUUcz1l3A6UODyfwoR4rlpxa6XQnp 3EI/y3ee0W+ie/P345rpwfzCkZvkorbhSmIYU5ktALb6qHmnV86BWM7TJ66Lmw9vWbOs M5ZOETNe6AAgI0m6f9C2rnyRagq2kW33Yk0C2NvS6eKrlytDneb+KgRCsdyJ6G2KzKpL FOQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=nXzWMAWiDrFqgX7eb9A3CYQdjGg78DexHa8mtMavKVk=; b=bu5D6apZfUFmqVUZBSBWqs5W1wTACBA3LzUqIW0ZR+/SzRlL+aLEJLHYYq4RSLATq2 afRpZS+WhHK8ylc0IvGnOGGjxV5FQwuXjq6PlcndqE+nitBoA+QFBXECoH8NhmQrlB8X HcPSKHwgIs6Az1yLZWGtxgwLHVNIIBA5KSYk+EQS+74RXYaeap+0+IhfMSA6DQyEXbc3 GLKz4Fr5ZFk6bG7sxp/k94U09pEnXGxN06NyEFveRvkiCXnl0DaIGW/qg9kHkYqA/fBs QSIQtbIL2Ao9caMLgL2dGbXnUmBu3rVK5SxjxTV/XN85QJ22B6RaE6BEzaVCscsIemgh R1Qw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k6si409712edr.111.2020.09.24.13.34.13; Thu, 24 Sep 2020 13:34:37 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726242AbgIXUdL (ORCPT + 99 others); Thu, 24 Sep 2020 16:33:11 -0400 Received: from smtprelay0068.hostedemail.com ([216.40.44.68]:56954 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726119AbgIXUdK (ORCPT ); Thu, 24 Sep 2020 16:33:10 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 4B044181D3026; Thu, 24 Sep 2020 20:33:09 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:2903:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3874:4321:5007:6691:7903:10004:10400:10471:11232:11658:11914:12296:12297:12740:12760:12895:13069:13255:13311:13357:13439:14096:14097:14659:21080:21324:21627:30054:30070:30083:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: hand52_580742227161 X-Filterd-Recvd-Size: 2846 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf17.hostedemail.com (Postfix) with ESMTPA; Thu, 24 Sep 2020 20:33:07 +0000 (UTC) Message-ID: <6d5383a3ec02d89dd05797c3ae158aebdc0c88ae.camel@perches.com> Subject: Re: [Cocci] coccinelle: Convert comma to semicolons (was Re: [PATCH] checkpatch: Add test for comma use that should be semicolon) From: Joe Perches To: Thomas Gleixner , 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 Date: Thu, 24 Sep 2020 13:33:06 -0700 In-Reply-To: <87tuvn6i88.fsf@nanos.tec.linutronix.de> References: <20200818184107.f8af232fb58b17160c570874@linux-foundation.org> <3bf27caf462007dfa75647b040ab3191374a59de.camel@perches.com> <744af177c09f8ce22c99d6e1df458bced558518b.camel@perches.com> <162653.1598067338@turing-police> <3836b482434bd0b9a609959d3696cc6113a93f2f.camel@perches.com> <87tuvn6i88.fsf@nanos.tec.linutronix.de> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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...