Re: [PATCH] ALSA: mixart_core: Mark expected switch fall-through
From: Takashi Iwai
Date: Thu Aug 09 2018 - 02:52:27 EST
On Thu, 09 Aug 2018 00:11:48 +0200,
Gustavo A. R. Silva wrote:
>
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Notice that in this particular case, I replaced the code comment with
> a proper "fall through" annotation, which is what GCC is expecting
> to find.
>
> Addresses-Coverity-ID: 114889 ("Missing break in switch")
> Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
Applied, thanks.
Takashi