Tag: e5c53278718f7f764a9d3436dc16545cb3844049

ALSA: usb-audio: Change structure initialisation to C99 style

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> 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; expression e; position …

Continue reading