]> git.baikalelectronics.ru Git - kernel.git/commit
sound: dmasound_atari: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 29 Jul 2019 20:54:54 +0000 (15:54 -0500)
committerTakashi Iwai <tiwai@suse.de>
Tue, 30 Jul 2019 07:36:13 +0000 (09:36 +0200)
commitdc6fdb537efbeabfdd6b53586454533bab07ea05
treea5d335d28ec0cf01b6e4b310141a4d3e7c2620b1
parent4de6c3a6d9a9228b07159168b9949a55efb3909d
sound: dmasound_atari: Mark expected switch fall-through

Mark switch cases where we are expecting to fall through.

This patch fixes the following warning (Building: m68k):

sound/oss/dmasound/dmasound_atari.c: warning: this statement may fall
through [-Wimplicit-fallthrough=]:  => 1449:24

Notice that, in this particular case, the code comment is
modified in accordance with what GCC is expecting to find.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/dmasound/dmasound_atari.c