Re: [Cocci] [PATCH] coccinelle: api: add devm_platform_ioremap_resource script

2019-07-06 Thread Julia Lawall
On Sat, 6 Jul 2019, Masahiro Yamada wrote: > On Sat, Apr 6, 2019 at 3:34 PM Julia Lawall wrote: > > > > > > > > On Sat, 6 Apr 2019, Julia Lawall wrote: > > > > > > > > > > > On Sat, 6 Apr 2019, Himanshu Jha wrote: > > > > > > > Use recently introduced devm_platform_ioremap_resource > > > >

Re: [Cocci] [PATCH 1/2] coccinelle: api/stream_open: treat all wait_.*() calls as blocking

2019-07-06 Thread Masahiro Yamada
On Sun, Jun 23, 2019 at 4:29 PM Kirill Smelkov wrote: > > Previously steam_open.cocci was treating only wait_event_.* - e.g. > wait_event_interruptible - as a blocking operation. However e.g. > wait_for_completion_interruptible is also blocking, and so from this > point of view it would be more

Re: [Cocci] [PATCH 2/5] Coccinelle: put_device: Add a cast to an expression for an assignment

2019-07-06 Thread Masahiro Yamada
On Mon, May 13, 2019 at 6:02 PM Markus Elfring wrote: > > From: Markus Elfring > Date: Wed, 8 May 2019 13:50:49 +0200 > > Extend a when constraint in a SmPL rule so that an additional cast > is optionally excluded from source code searches for an expression > in assignments. > > Signed-off-by:

Re: [Cocci] [PATCH 1/5] Coccinelle: put_device: Adjust a message construction

2019-07-06 Thread Masahiro Yamada
On Mon, May 13, 2019 at 5:59 PM Markus Elfring wrote: > > From: Markus Elfring > Date: Tue, 7 May 2019 11:20:48 +0200 > > The Linux coding style tolerates long string literals so that > the provided information can be easier found also by search tools > like grep. > Thus simplify a message

Re: [Cocci] [PATCH] Coccinelle: kstrdup: Fix typo in warning messages

2019-07-06 Thread Masahiro Yamada
On Tue, Apr 9, 2019 at 4:20 AM Julia Lawall wrote: > > > > On Mon, 8 Apr 2019, Rikard Falkeborn wrote: > > > Replace 'kstrdep' with 'kstrdup' in warning messages. > > > > Signed-off-by: Rikard Falkeborn > > Acked-by: julia.law...@lip6.fr Applied to linux-kbuild. -- Best Regards Masahiro

Re: [Cocci] [PATCH] coccinelle: api: add devm_platform_ioremap_resource script

2019-07-06 Thread Masahiro Yamada
On Sat, Apr 6, 2019 at 3:34 PM Julia Lawall wrote: > > > > On Sat, 6 Apr 2019, Julia Lawall wrote: > > > > > > > On Sat, 6 Apr 2019, Himanshu Jha wrote: > > > > > Use recently introduced devm_platform_ioremap_resource > > > helper which wraps platform_get_resource() and > > >