[PATCH][next] ASoC: ti: davinci-mcasp: Fix fall-through warning for Clang

Kees Cook keescook at chromium.org
Tue Jun 1 21:20:55 CEST 2021


On Fri, May 28, 2021 at 03:20:47PM -0500, Gustavo A. R. Silva wrote:
> In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
> by explicitly adding a goto statement instead of letting the code fall
> through to the next case.
> 
> Link: https://github.com/KSPP/linux/issues/115
> Signed-off-by: Gustavo A. R. Silva <gustavoars at kernel.org>

Reviewed-by: Kees Cook <keescook at chromium.org>

-- 
Kees Cook


More information about the Alsa-devel mailing list