]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - sound/oss/dmasound/dmasound_atari.c
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)
commit8e774e023565c682c67617da5141c7395c8a5fac
treea5d335d28ec0cf01b6e4b310141a4d3e7c2620b1
parentf474808acb3c4b30552d9c59b181244e0300d218
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