Re: [PATCH 3/9] pwm: lpss: use c99 initializers in structures

2014-08-25 Thread Thierry Reding
On Sat, Aug 23, 2014 at 01:20:25PM +0200, Julia Lawall wrote: > From: Julia Lawall > > Use c99 initializers for structures. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > @decl@ > identifier i1,fld; > type T; >

Re: [PATCH 3/9] pwm: lpss: use c99 initializers in structures

2014-08-25 Thread Thierry Reding
On Sat, Aug 23, 2014 at 01:20:25PM +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Use c99 initializers for structures. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @decl@ identifier i1,fld;