mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-08-02 07:52:05 +00:00
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: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| NOTES | ||
| sti_compositor.c | ||
| sti_compositor.h | ||
| sti_drm_crtc.c | ||
| sti_drm_crtc.h | ||
| sti_drm_drv.c | ||
| sti_drm_drv.h | ||
| sti_drm_plane.c | ||
| sti_drm_plane.h | ||
| sti_gdp.c | ||
| sti_gdp.h | ||
| sti_hda.c | ||
| sti_hdmi_tx3g0c55phy.c | ||
| sti_hdmi_tx3g0c55phy.h | ||
| sti_hdmi_tx3g4c28phy.c | ||
| sti_hdmi_tx3g4c28phy.h | ||
| sti_hdmi.c | ||
| sti_hdmi.h | ||
| sti_layer.c | ||
| sti_layer.h | ||
| sti_mixer.c | ||
| sti_mixer.h | ||
| sti_tvout.c | ||
| sti_vid.c | ||
| sti_vid.h | ||
| sti_vtac.c | ||
| sti_vtg.c | ||
| sti_vtg.h | ||