Tag: 09628b2c2105722e61b8c799531304a1cd317b2e

[media] dib0700_devices: Use c99 initializers for structures.

Author: Mauro Carvalho Chehab <mchehab@osg.samsung.com> A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @decl@ identifier i1,fld; type T; field list[n] fs; @@ struct i1 { fs T fld; …}; @bad@ identifier decl.i1,i2; expression e; initializer list[decl.n] is; @@ struct i1 i2 = { is, + .fld = …

Continue reading