Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2431395ybg; Sat, 19 Oct 2019 15:16:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqweKbqzNQzHe8rgQ0HHDKlBLWkm3nuxGOKxzgjQZJ6Y/a0/J+3g+n9o9mP5CsybM2wIhha+ X-Received: by 2002:a05:6402:514:: with SMTP id m20mr17405983edv.187.1571523362142; Sat, 19 Oct 2019 15:16:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571523362; cv=none; d=google.com; s=arc-20160816; b=dcap2MbTfklTXbI8Bi0fmXvf6lgOLzY8DiQzmoAxUUlKqG4FaXYHPiNmqTWDx7b9j4 onBIcor7O/w5dEhzg6yQhoqko00CR8PQGmZ+hNRBolqEE0/vichPEqu0t06EWQm0COLX rr1/QgtqHFnUFJtPPzKvffj/zPy6JkBxMul8QjlYfCm6cpMJ9t/EqrYAWo+z9XRo7RJj KAtPPuJgu9NGIw8AZAY9Ls/3rBZ7Ll6+HCeAjgr3joyA2SDJPyEmwrl8eHrBtQ/15Mwj eR8S0Rpmn/SKkWB0cAU3GmlckTKp9iGvi9B0/uGEW8gdejBTFgfErK6a+vfX4KyYK5cU N2mA== 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=BqIJ9/XJM7y8u8O2K4k9NEVqFxxwu2r78idD1bLGXB0=; b=ue8p9fe3xzQMqmv4fEJTCPGpv6s5KH5I4BM+Y60bkU6CHj+GoC81MdYAc8hzVCgOf/ ugIOV49DDhrqNXCADXVGCAM4P74TBe7e+BAQ0MKpSAGyh3BfO4AD+z+2TpvAMHeMvLdx c/BPPukyGmKs4hT8l5ZurNAXZNEqFBC+AdW3+k8Chb3X1kelDXqIXXQkynMr2gcKxfYP hN/ksg/MV5e50oW5xGt1nUmvmnsmsQIcN4vmIh+Z+4vtC00BqNKB2A16X22bTl6yK6ik K+W+vGSFuRatKH+Rbz5gZF+1dUFNxIfXdygM3t6+MFgeFwwo7rJ+xYWDL3MBv0wJ8Xr7 3ttg== 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 d17si6131635edv.76.2019.10.19.15.15.38; Sat, 19 Oct 2019 15:16:02 -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 S1726299AbfJSWNa (ORCPT + 99 others); Sat, 19 Oct 2019 18:13:30 -0400 Received: from smtprelay0157.hostedemail.com ([216.40.44.157]:48808 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726143AbfJSWNa (ORCPT ); Sat, 19 Oct 2019 18:13:30 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 60D29181D2FC9; Sat, 19 Oct 2019 22:13:28 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::::::::::::::,RULES_HIT:41:355:379:599:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3351:3622:3865:3866:3867:3868:3871:3874:4321:5007:6742:10004:10400:10848:11232:11658:11914:12114:12297:12679:12740:12760:12895:13069:13161:13229:13311:13357:13439:14659:21080:21433:21627:30012:30054:30091,0,RBL:47.151.135.224:@perches.com:.lbl8.mailshell.net-62.8.0.100 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:24,LUA_SUMMARY:none X-HE-Tag: pull40_1de9676909547 X-Filterd-Recvd-Size: 2185 Received: from XPS-9350.home (unknown [47.151.135.224]) (Authenticated sender: joe@perches.com) by omf02.hostedemail.com (Postfix) with ESMTPA; Sat, 19 Oct 2019 22:13:25 +0000 (UTC) Message-ID: Subject: Re: coccinelle: api/devm_platform_ioremap_resource: remove useless script From: Joe Perches To: Marc Zyngier , Markus Elfring Cc: Himanshu Jha , Julia Lawall , kernel-janitors@vger.kernel.org, Coccinelle , Alexandre Belloni , linux-kernel@vger.kernel.org, Andy Shevchenko , Arnd Bergmann , Bartosz Golaszewski , Gilles Muller , Greg Kroah-Hartman , Linus Torvalds , Linus Walleij , Masahiro Yamada , Michal Marek , Nicolas Palix , Thomas Gleixner , YueHaibing Date: Sat, 19 Oct 2019 15:13:24 -0700 In-Reply-To: <868spgzcti.wl-maz@kernel.org> References: <693a3b68-a0f1-81fe-40ce-2b6ba189450c@web.de> <868spgzcti.wl-maz@kernel.org> 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-10-19 at 21:43 +0100, Marc Zyngier wrote: > Providing Coccinelle scripts that scream about perfectly valid code is > pointless, and the result is actively harmful. Doubtful. If the new code is smaller object code and correct than the conversion is worthwhile. fyi: There are already ~450 uses of this function and maybe ~800 possible additional conversions. > If said script was providing a correct semantic patch instead of being > an incentive for people to churn untested patches that span the whole > tree, that'd be a different story. Right.