[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191019120941.GL3125@piout.net>
Date: Sat, 19 Oct 2019 14:09:41 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Markus Elfring <Markus.Elfring@....de>
Cc: Julia Lawall <Julia.Lawall@...6.fr>,
Himanshu Jha <himanshujha199640@...il.com>,
kernel-janitors@...r.kernel.org,
Coccinelle <cocci@...teme.lip6.fr>,
Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org,
Marc Zyngier <maz@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Linus Torvalds <torvalds@...uxfoundation.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Bartosz Golaszewski <bgolaszewski@...libre.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>
Subject: Re: [PATCH] coccinelle: api/devm_platform_ioremap_resource: remove
useless script
On 19/10/2019 11:00:47+0200, Markus Elfring wrote:
> > While it is useful for new drivers to use devm_platform_ioremap_resource,
>
> This is nice.
>
>
> > this script is currently used to spam maintainers,
>
> This view is unfortunate.
>
> Do we stumble on a target conflict again?
>
>
> > often updating very old drivers.
>
> This can also happen.
>
>
> > The net benefit is the removal of 2 lines of code in the driver
>
> Additional effects can be reconsidered, can't they?
>
What are the additional effects? What is the end goal of converting all
the existing drivers to devm_platform_ioremap_resource? The existing
code is currently always correct and it is difficult to see how this
would lead to any bug avoidance in the long term.
> > but the review load for the maintainers is huge.
>
> Does collateral evolution trigger a remarkable amount of changes occasionally?
>
This is not an evolution, it is unnecessary churn. Those patches have no
benefit and eat up very valuable reviewer time.
>
> 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.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists