diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-10-14 00:52:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-14 02:18:17 +0200 |
commit | 473b86451276d6d342ecd26d5e503163c30ea974 (patch) | |
tree | 449d1522bfd7ee9719c3415e8a4594e238dc9d1d /crypto/lzo.c | |
parent | autofs: the documentation I wanted to read (diff) | |
download | linux-473b86451276d6d342ecd26d5e503163c30ea974.tar.xz linux-473b86451276d6d342ecd26d5e503163c30ea974.zip |
rtc: 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/lzo.c')
0 files changed, 0 insertions, 0 deletions