]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: seq: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 3 Aug 2018 20:52:33 +0000 (15:52 -0500)
committerTakashi Iwai <tiwai@suse.de>
Sat, 4 Aug 2018 06:30:36 +0000 (08:30 +0200)
commit2f3b94e539a46052f8eba1f295ff5646e227578a
tree07f01e4f386563d3ba835709408b5df3ff735286
parentc000c4f1d96534885bc7a8ef5185fd8c0de5e827
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>
sound/core/seq/seq_midi_emul.c