Skip to content

Commit

Permalink
ALSA: synth: use designated initializers
Browse files Browse the repository at this point in the history
Prepare to mark sensitive kernel structures for randomization by making
sure they're using designated initializers. These were identified during
allyesconfig builds of x86, arm, and arm64, with most initializer fixes
extracted from grsecurity.

Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Takashi Sakamoto <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
kees authored and tiwai committed Dec 28, 2016
1 parent fe4cb86 commit f93a1c9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions sound/synth/emux/emux_seq.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ static int snd_emux_unuse(void *private_data, struct snd_seq_port_subscribe *inf
* MIDI emulation operators
*/
static struct snd_midi_op emux_ops = {
snd_emux_note_on,
snd_emux_note_off,
snd_emux_key_press,
snd_emux_terminate_note,
snd_emux_control,
snd_emux_nrpn,
snd_emux_sysex,
.note_on = snd_emux_note_on,
.note_off = snd_emux_note_off,
.key_press = snd_emux_key_press,
.note_terminate = snd_emux_terminate_note,
.control = snd_emux_control,
.nrpn = snd_emux_nrpn,
.sysex = snd_emux_sysex,
};


Expand Down

0 comments on commit f93a1c9

Please sign in to comment.