[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <389d4ad6-7f57-2060-f00a-ac2295052b22@web.de>
Date: Sat, 19 Oct 2019 16:06:52 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Alexandre Belloni <alexandre.belloni@...tlin.com>,
Himanshu Jha <himanshujha199640@...il.com>,
kernel-janitors@...r.kernel.org,
Coccinelle <cocci@...teme.lip6.fr>,
Bartosz Golaszewski <bgolaszewski@...libre.com>
Cc: Julia Lawall <Julia.Lawall@...6.fr>, Arnd Bergmann <arnd@...db.de>,
Marc Zyngier <maz@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Linus Torvalds <torvalds@...uxfoundation.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Gilles Muller <Gilles.Muller@...6.fr>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Linus Walleij <linus.walleij@...aro.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Michal Marek <michal.lkml@...kovi.net>,
Nicolas Palix <nicolas.palix@...g.fr>,
YueHaibing <yuehaibing@...wei.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: coccinelle: api/devm_platform_ioremap_resource: remove useless
script
> What are the additional effects?
I suggest to take another look at the commit 7945f929f1a77a1c8887a97ca07f87626858ff42
("drivers: provide devm_platform_ioremap_resource()" from 2019-02-20)
which triggered the discussed software evolution.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/base/platform.c
> What is the end goal of converting all the existing drivers to devm_platform_ioremap_resource?
It was accepted by well-known Linux developers to put two function calls
into another wrapper function.
> This is not an evolution, it is unnecessary churn. Those patches have no
> benefit and eat up very valuable reviewer time.
I am curious if other contributors would like to describe more variants
of software development opinions in affected areas.
>> How will such feedback influence the development and integration of
>> further scripts for the semantic patch language (Coccinelle software)?
>
> There are a few other scripts that have no added value when applied to
> existing code, like ptr_ret.cocci.
Would you like to clarify concerns around such source code transformation
approaches in more detail?
Regards,
Markus
Powered by blists - more mailing lists