1. 11 12月, 2014 13 次提交
  2. 05 11月, 2014 1 次提交
  3. 17 9月, 2014 1 次提交
  4. 12 9月, 2014 1 次提交
    • J
      drm: use c99 initializers in structures · d456ea2e
      Julia Lawall 提交于
      Use c99 initializers for structures.
      
      Drop 0 initializers in drivers/gpu/drm/sti/sti_vtac.c.  A 0x0 initializer
      is left in vtac_mode_aux in drivers/gpu/drm/sti/sti_vtac.c to highlight the
      relation to vtac_mode_main.
      
      A simplified version of the semantic match that finds the first 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>
      
      v2: Drop 0 initializers and add trailing commas at the suggestions of Josh
      Triplett.
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      d456ea2e
  5. 26 8月, 2014 6 次提交
  6. 05 8月, 2014 1 次提交
  7. 31 7月, 2014 11 次提交