ALSA: mixart: Mark expected switch fall-through
PATCH 1/1 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 <[email protected]>
--- sound/pci/mixart/mixart.c | 1 + 1 file changed, 1 insertion(+)
sound/pci/mixart/mixart.c +1 -0
@@ -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 */
Signature · 1 line
2.7.4
Takashi Iwai
AppliedQuoted 5 lines · Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through.
Signed-off-by Gustavo A. R. Silva <[email protected]>
Applied, thanks.
Takashi