diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-08-23 08:20:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-22 18:17:08 -0300 |
commit | 1148f6fdb0136b6cf9ec5e1ff6db2dfa899b3906 (patch) | |
tree | 5a3c5d6a4081660d148a936cada71fc8a7076b0c /fs/attr.c | |
parent | 5d40018623a53f5e21cb3393ab9ef2a3a7bc57dd (diff) | |
download | op-kernel-dev-1148f6fdb0136b6cf9ec5e1ff6db2dfa899b3906.zip op-kernel-dev-1148f6fdb0136b6cf9ec5e1ff6db2dfa899b3906.tar.gz |
[media] v4l: ti-vpe: use c99 initializers in structures
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;
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 = e
- e
,...};
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions