diff options
author | 2018-08-03 15:52:33 -0500 | |
---|---|---|
committer | 2018-08-04 08:30:36 +0200 | |
commit | 2f3b94e539a46052f8eba1f295ff5646e227578a (patch) | |
tree | 07f01e4f386563d3ba835709408b5df3ff735286 /sound/core/seq | |
parent | ALSA: synth: Remove empty init and exit (diff) | |
download | linux-2f3b94e539a46052f8eba1f295ff5646e227578a.tar.gz linux-2f3b94e539a46052f8eba1f295ff5646e227578a.tar.bz2 linux-2f3b94e539a46052f8eba1f295ff5646e227578a.zip |
ALSA: seq: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Notice that in this particular case, I replaced the code comment with
a proper "fall through" annotation, which is what GCC is expecting
to find.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq')
-rw-r--r-- | sound/core/seq/seq_midi_emul.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/seq/seq_midi_emul.c b/sound/core/seq/seq_midi_emul.c index f9f21331aeea..c1975dd31871 100644 --- a/sound/core/seq/seq_midi_emul.c +++ b/sound/core/seq/seq_midi_emul.c @@ -318,7 +318,7 @@ do_control(struct snd_midi_op *ops, void *drv, struct snd_midi_channel_set *chse break; case MIDI_CTL_MSB_DATA_ENTRY: chan->control[MIDI_CTL_LSB_DATA_ENTRY] = 0; - /* go through here */ + /* fall through */ case MIDI_CTL_LSB_DATA_ENTRY: if (chan->param_type == SNDRV_MIDI_PARAM_TYPE_REGISTERED) rpn(ops, drv, chan, chset); |