From: Julia Lawall Date: Sat, 23 Aug 2014 11:20:23 +0000 (-0300) Subject: [media] v4l: ti-vpe: use c99 initializers in structures X-Git-Tag: fixes-against-v3.18-rc2~130^2^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1148f6fdb0136b6cf9ec5e1ff6db2dfa899b3906;p=pandora-kernel.git [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/) // @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 ,...}; // Signed-off-by: Julia Lawall Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed