]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ALSA: seq_oss: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 3 Aug 2018 20:53:54 +0000 (15:53 -0500)
committerTakashi Iwai <tiwai@suse.de>
Sat, 4 Aug 2018 06:30:45 +0000 (08:30 +0200)
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Warning level 2 was used: -Wimplicit-fallthrough=2

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/oss/seq_oss_timer.c

index 4f24ea9fad935ace703f61cd8ce084d0510ba3b7..ba127c22539a0ffe06e007ae5398d4e60370285b 100644 (file)
@@ -92,7 +92,7 @@ snd_seq_oss_process_timer_event(struct seq_oss_timer *rec, union evrec *ev)
                case TMR_WAIT_REL:
                        parm += rec->cur_tick;
                        rec->realtime = 0;
-                       /* continue to next */
+                       /* fall through and continue to next */
                case TMR_WAIT_ABS:
                        if (parm == 0) {
                                rec->realtime = 1;