[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1906081925090.2543@hadrien>
Date: Sat, 8 Jun 2019 19:26:35 +0200 (CEST)
From: Julia Lawall <julia.lawall@...6.fr>
To: Markus Elfring <Markus.Elfring@....de>
cc: Himanshu Jha <himanshujha199640@...il.com>, cocci@...teme.lip6.fr,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.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: Coccinelle: api: add devm_platform_ioremap_resource script
On Sat, 8 Jun 2019, Markus Elfring wrote:
> > +- e1 = devm_ioremap_resource(arg4, id);
> > ++ e1 = devm_platform_ioremap_resource(arg1, arg3);
>
> Can the following specification variant matter for the shown SmPL
> change approach?
>
> + e1 =
> +- devm_ioremap_resource(arg4, id
> ++ devm_platform_ioremap_resource(arg1, arg3
> + );
In the latter case, the original formatting of e1 will be preserved. But
there is not usually any interesting formatting on the left side of an
assignment (ie typically no newlines or comments). I can see no purpose
to factorizing the right parenthesis.
julia
Powered by blists - more mailing lists