Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp598631pxk; Thu, 24 Sep 2020 13:23:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz73s2C/D0mrEwFOO58Zt1aiaP4CvRBnPxra5Ls2qyfLlxf8dqp+AF1s0RkM4JlRJeSNuOS X-Received: by 2002:a50:baed:: with SMTP id x100mr546732ede.384.1600979033257; Thu, 24 Sep 2020 13:23:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600979033; cv=none; d=google.com; s=arc-20160816; b=jb9yITTI/DWPF50nbvymz9HJFhTvog8lawlHOvVbnqb0XMAZoJeaYnORnh2jpLQC7U Aspm5h5RuR1Swf9t2hZjRNT6xZi/QgpglOj3DB0EALsVdZ2ya0KhbU3lNBPYmTJX5Z3C VlT938mRZwdpQdgbA70dNeV9bG+QpkaTVKOvdO2VBOFWI5fT+qrrz+8WDXNDSvip68/E IB7R0nat2+06fpWrv+LMDjQP72QugiGmHv86f1Jwpje6SEQmTMgZiCFBjin2oCSF9YkL iXTdp4aGx7WEhnbaaKbZZnMUs+sFLgglZRq2gJiQhG7Gzp4pA3PXSxR7Gg6vfyvRIiAN W+CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=OqoUmMpv1UPOCNR+vhSrwu/EVycIf+y8IUbOsuvG6UI=; b=H820EgPpASMFt0DxR7jKjwoaXHCyTLCsM4TOyKdls2fBULcT012nNFDhOjuq50WaZR 6haKKvW1iPo1QXESjBoBb1J+4DUxtfij8nwDZUhe7LSfymaDqRakFxTfK+iXrgcY5pPF TMp4jai+1ejCSNxavnAvu9knk8PpjVYneFV4zOLJsrCc5RGu+Uk3doYNo9qBQ2uTcodR Enx9vt8UZ0WhzO6ZPD8iTBEVAHLGY1FQwS7j25rVP2F/W+HWD1bO9/SLVj79iRJ7iuWw Qk9P3N2tIBtCiVBS41/uPqBuKTI4BBhBV+9e9TQR/V1QoHDvuZ74zV/dI3Vi838a5WwY 7rMg== 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 rn4si538510ejb.143.2020.09.24.13.23.29; Thu, 24 Sep 2020 13:23:53 -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 S1726414AbgIXUVo (ORCPT + 99 others); Thu, 24 Sep 2020 16:21:44 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:45851 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725208AbgIXUVn (ORCPT ); Thu, 24 Sep 2020 16:21:43 -0400 X-IronPort-AV: E=Sophos;i="5.77,299,1596492000"; d="scan'208";a="359990934" Received: from abo-173-121-68.mrs.modulonet.fr (HELO hadrien) ([85.68.121.173]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2020 22:21:39 +0200 Date: Thu, 24 Sep 2020 22:21:38 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Thomas Gleixner cc: Joe Perches , =?UTF-8?Q?Valdis_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: <87tuvn6i88.fsf@nanos.tec.linutronix.de> Message-ID: 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> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 24 Sep 2020, 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? > > And of course that script really wants to be part of the kernel cocci > checks to catch further instances. I will try to get to it soon. Thanks for checking all the cases. julia > > Thanks, > > tglx >