From: Gustavo A. R. Silva Date: Sat, 4 Aug 2018 20:11:03 +0000 (-0500) Subject: ALSA: mixart: Mark expected switch fall-through X-Git-Tag: v4.19-rc1~158^2~1^2~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac69c2f578bf51a3804c5e96467571ea5be0e882;p=thirdparty%2Fkernel%2Flinux.git ALSA: mixart: Mark expected switch fall-through In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c index a74f1ad7e7b85..9cd297a42f24d 100644 --- a/sound/pci/mixart/mixart.c +++ b/sound/pci/mixart/mixart.c @@ -182,6 +182,7 @@ static int mixart_set_clock(struct mixart_mgr *mgr, case PIPE_RUNNING: if(rate != 0) break; + /* fall through */ default: if(rate == 0) return 0; /* nothing to do */