diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-08-23 13:20:24 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-08-26 15:52:38 +0300 |
commit | 1287c5bf214b906d64a71c481545010dbe1b5b66 (patch) | |
tree | 76a581691779ce48d75b7e51dbe9cc3506b2acfa /arch/x86/pci | |
parent | 68ecfe2fe2e6c636bb7e2cf616e658e342e05362 (diff) | |
download | blackbird-op-linux-1287c5bf214b906d64a71c481545010dbe1b5b66.tar.gz blackbird-op-linux-1287c5bf214b906d64a71c481545010dbe1b5b66.zip |
video: fbdev: matrox: 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: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/x86/pci')
0 files changed, 0 insertions, 0 deletions