Messages in this thread | | | Date | Sat, 19 Oct 2019 14:09:41 +0200 | From | Alexandre Belloni <> | 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
| |