Tag: d169133889090903d9feb968deb9fa01240a58f5

ALSA: ctxfi: Change structure initialisation to C99 style

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> For readability and to allow for structure randomisation, replace the in order struct initialisation style with explicit field style. The Coccinelle semantic patch used to make this change is as follows: @decl@ identifier i1,fld; type T; field list[n] fs; @@ struct i1 { fs T fld; …}; @@ identifier decl.i1,i2,decl.fld; …

Continue reading