From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3C4CC3A59D for ; Fri, 16 Aug 2019 19:58:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 819B32077C for ; Fri, 16 Aug 2019 19:58:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727545AbfHPT6d (ORCPT ); Fri, 16 Aug 2019 15:58:33 -0400 Received: from smtprelay0198.hostedemail.com ([216.40.44.198]:40801 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727585AbfHPT6d (ORCPT ); Fri, 16 Aug 2019 15:58:33 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 5FD2E18008646; Fri, 16 Aug 2019 19:58:31 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: mass40_4a1449745f063 X-Filterd-Recvd-Size: 2860 Received: from XPS-9350 (cpe-23-242-196-136.socal.res.rr.com [23.242.196.136]) (Authenticated sender: joe@perches.com) by omf01.hostedemail.com (Postfix) with ESMTPA; Fri, 16 Aug 2019 19:58:28 +0000 (UTC) Message-ID: Subject: rfc: treewide scripted patch mechanism? (was: Re: [PATCH] Makefile: Convert -Wimplicit-fallthrough=3 to just -Wimplicit-fallthrough for clang) From: Joe Perches To: Linus Torvalds , Stephen Rothwell , Julia Lawall Cc: "Gustavo A. R. Silva" , LKML , clang-built-linux@googlegroups.com, Linux Next Mailing List Date: Fri, 16 Aug 2019 12:58:27 -0700 In-Reply-To: <4398924f28a58fca296d101dae11e7accce80656.camel@perches.com> References: <9c7a79b4d21aea52464d00c8fa4e4b92638560b6.camel@perches.com> <6a5f470c1375289908c37632572c4aa60d6486fa.camel@perches.com> <4398924f28a58fca296d101dae11e7accce80656.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.32.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-next-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Sat, 2019-08-10 at 13:33 -0700, Joe Perches wrote: > On Sat, 2019-08-10 at 13:18 -0700, Joe Perches wrote: [] > > There are classes of patches generated by scripts that have > > no real mechanism to be applied today. > > > > For instance: global coccinelle scripted changes to use stracpy > > https://lore.kernel.org/lkml/alpine.DEB.2.21.1907251747560.2494@hadrien/ > > > > and trivial scripted changes to MAINTAINERS > > https://lore.kernel.org/lkml/6482e6546dc328ec47b07dba9a78a9573ebb3e56.camel@perches.com/ > > > > that are basically impossible to be applied by anyone but you. > > > > Otherwise there are hundreds of little micro patches most of > > which would not otherwise be applied. > > > > There should be some process available to get these treewide > > or difficult to keep up-to-date and apply patches handled. > > > > I believe these sorts of scripted patches should ideally > > be handled immediately before an RC1 so other trees can be > > synchronized in the simplest way possible. > > Hey Stephen > > Question for you about a possible -next process change. > > Would it be reasonable to have some mechanism to script > treewide patches to generate and apply after Andrew Morton's > mmotm patches are applied to -next? > > This could allow treewide scripted patches to have > compilation and test coverage before possibly being > applied to Linus' tree. > > What would be necessary to allow this? Ping?