Received: by 2002:a17:90a:b81:0:0:0:0 with SMTP id 1csp1337519pjr; Fri, 16 Aug 2019 12:59:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6dcCCsDyfEqLfQQYdMdsLHwrg/OnfV7l5nEFmSDZcMAq/WEimNNLV8XPqHe6oY5OdauUf X-Received: by 2002:aa7:8106:: with SMTP id b6mr12394132pfi.5.1565985566920; Fri, 16 Aug 2019 12:59:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565985566; cv=none; d=google.com; s=arc-20160816; b=oZNXGJqT7tXCeEn0UsDq8sv1cStrBhU8Kf0v0DVqQ3RMhjw6KI4Y6uXPUtV6m1UC7+ F/cjkjTOQ3skE6zBK7e7nNAXcBDnk3V6XkQe/0DcgxqAh++zrRln1eKilq8vzuNDKDRs o9t/JTAzbq0TBXwbEHAwIvUKb3uIRnWj15GEy80AHO8RZj1l+OXNqYkvkZ7tXgIWgJJr y8rPSh7B42k4e8a4YUsLV2ArVpjjbXHPLVwCiE6yT6sT1txw7W3wlxuNShYopZ5DuVeo N67h2Cg9Oqg8B8j64JSnHK00zD/LB7whKuVU2vfCrJ5yDZnoJTwnBqV2vLo62lPMizzy wBeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=TsHkBbYEeI/4ynxzxinljLv3TmTPNJzFah0mQ5q76fk=; b=HeYgbuqnbAcbCnYvOq/7Jnw0td7jKKleon71Gq9OUTck3pe9EA9xipk6stzR+cxH88 PSk1fxmES42N4P+bSlk6GEfSlEd3Veb4OKOhBXxeqgYetUs/x54e6ptvKeJ3lU6BhtJ+ wONH9LD0uGv4qpsZLLwRpEITOQtVT4IcUwLKq2xRVFW3eZMp+Je/zuVohwmU6NHkBUYf X7b+yymu5h3Zz2QDRa2LuImLjJGbDn4FqYKqIHkDnrpYUzIuCiw+hunqbZS1g9ArZ/7H woNc5iseGzQnVqMor1duyG3sOxOyEBWQvlrCkWt14+b3v31aEtf5iW04BFWfnyaSBEv/ rKPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l185si4375949pgd.379.2019.08.16.12.59.11; Fri, 16 Aug 2019 12:59:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727693AbfHPT6d (ORCPT + 99 others); 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-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::,RULES_HIT:41:355:379:800:967: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:2525:2559:2564:2682:2685:2691:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:5007:7903:9025:10004:10400:10471:10848:11232:11658:11914:12043:12050:12114:12297:12438:12555:12740:12760:12895:12986:13069:13142:13230:13255:13311:13357:13439:14096:14097:14180:14181:14659:14721:14819:21080:21451:21627:21811:30041:30054:30060:30070:30091,0,RBL:23.242.196.136:@perches.com:.lbl8.mailshell.net-62.14.0.180 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:29,LUA_SUMMARY:none 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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?