Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2566174pxk; Sun, 27 Sep 2020 12:37:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyg3Comj8o6oTG/CyDdps9NnVAIDX5hbGeqDBnz8585rLe07osQceLXhb56dHVd3lnxMcf2 X-Received: by 2002:a05:6402:b64:: with SMTP id cb4mr12196929edb.25.1601235420695; Sun, 27 Sep 2020 12:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601235420; cv=none; d=google.com; s=arc-20160816; b=Q+lEwt3pa6yWYET8+ZavcSgCboI0E7RXUvpraOIvKebvHvUS7M8crquztf3txmPSLy mKVSRAre/WAhpKO4QAbHmFHnz5Kmwb8OwWkR0kNeok9rpojFJbWHr0BKWdzQnUwAGn9p Ud8OF+CXaiZX/AklqdZ7Vk4ZFxvQqdAiuCraP1j07ORfS1OHvu7+6oCZjNjXKuJibbTa 0gyD5IhngcIQUkYnLnLLqiB7qmPfqF0d2/FnGqFZB4cFMAC8tbsVss4dGbF1u2XEdCCV rJ5KHqScj2z/JkWWqbyUdnb5DL3EuiYutLY5z3+tMdGXU7D/ZYmacN8VCaqzF6NeD9uh n3Qw== 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=jOLNBH/SgzbsFhL49n9gbyJjVttLCr1VibXOsDKBSqM=; b=jfYrsq5J415NyuIXaHrqnQNfSOmdzM/Md9yLKasRUgkOpdgeHFi7qfO6PixZjOc8LM w2jO/pXIjd0piVcBCuRJl07G2HtKKfpy9sYVVcacWtLlxt+q/njiQdL7iGE+zCw9qCks nNPjul3swnd9ALLWp4c5jb3GDjSqVe6B+K1I0xCTE+7uMjmXQOWTPXsD5Fd1a+RTZXBg Ls1BtUqH1et/lNdALjW3oOYZHmrt+x2Sz45TtupeURjfebO7AD04eXd/8fDO02IY3FHl l824BdjlG5WVPCD2YiPR2/7k+1wU7HqyPGVd0+i3Yr70YOTKionOU2uYpqAwwlzry/lK wMVQ== 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 gv24si6121234ejb.258.2020.09.27.12.36.36; Sun, 27 Sep 2020 12:37:00 -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 S1726513AbgI0Tff (ORCPT + 99 others); Sun, 27 Sep 2020 15:35:35 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:33346 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726358AbgI0Tff (ORCPT ); Sun, 27 Sep 2020 15:35:35 -0400 X-IronPort-AV: E=Sophos;i="5.77,311,1596492000"; d="scan'208";a="469742917" Received: from abo-173-121-68.mrs.modulonet.fr (HELO hadrien) ([85.68.121.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2020 21:35:32 +0200 Date: Sun, 27 Sep 2020 21:35:32 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Joe Perches cc: Thomas Gleixner , =?UTF-8?Q?Valdis_Kl=C4=93tnieks?= , kernel-janitors , kernelnewbies , linux-kernel-mentees@lists.linuxfoundation.org, Andrew Morton , cocci , Giuseppe Scrivano , LKML , Andy Whitcroft , lkp , "Gustavo A. R. Silva" Subject: Re: [Cocci] coccinelle: Convert comma to semicolons (was Re: [PATCH] checkpatch: Add test for comma use that should be semicolon) In-Reply-To: <983c49ebe4bbe0435a73d25cd8525764a4f8adac.camel@perches.com> Message-ID: References: <87r1qqvo2d.fsf@nanos.tec.linutronix.de> <983c49ebe4bbe0435a73d25cd8525764a4f8adac.camel@perches.com> 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 Sun, 27 Sep 2020, Joe Perches wrote: > On Sun, 2020-09-27 at 19:08 +0200, Julia Lawall wrote: > > I end up with 208 patches. I'm not sure that sending them all at once > > would be a good idea... > > Last I looked the diffstat for comma -> semicolon was: > > 234 files changed, 509 insertions(+), 509 deletions(-) > > So it would be nearly 1 patch per individual file, I have 282 files. > > Greg KH does send hundreds of patches for -stable at a time. > > So, maybe or maybe not send them all at once. > Maybe send it in batches of 25 or so. > > There's no single right way to do this. > > Maybe put up a git tree somewhere and let the > kernel-robot test compilation. I compiled all but about 15 and checked those 15 an extra time. I'll try the small batch approach to get started. thanks, julia > (A nicety might be for the kernel-robot to have some > option to test pre and post compilation object code > differences with an optional report) > > When I automated 491 patches for /* fallthrough */ to > fallthrough;, the robot caught a couple problems which > was great. > > https://repo.or.cz/linux-2.6/trivial-mods.git/shortlog/refs/heads/20200310_fallthrough_2 > > I only posted the first ~30 patches though with > about 50% acceptance. Gustavo Silva picked up the > effort and did a great job. Eventually, a single > treewide patch was posted and accepted by Linus for > this though after dozens of individual patches went > through various maintainer trees: > > $ git log --shortstat -1 df561f6688fe > commit df561f6688fef775baa341a0f5d960becd248b11 > Author: Gustavo A. R. Silva > Date: Sun Aug 23 17:36:59 2020 -0500 > > treewide: Use fallthrough pseudo-keyword > > Replace the existing /* fall through */ comments and its variants with > the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary > fall-through markings when it is the case. > > [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=> > > Signed-off-by: Gustavo A. R. Silva > > 1148 files changed, 2667 insertions(+), 2737 deletions(-) > > >