media: dvb-frontends: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:26:09 +0000 (19:26 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 11:54:44 +0000 (12:54 +0100)
commitaf7ab66225111d0612a38e63eae6cd4af66d43e6
treefb77153f64e4c4b438e5d99056cb264bdc20e1c8
parent625993166b551d633917ca35d4afb7b46d7451b4
media: dvb-frontends: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple break and a return statements
instead of just 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@kernel.org>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/dvb-frontends/cx24120.c
drivers/media/dvb-frontends/dib0090.c
drivers/media/dvb-frontends/drxk_hard.c
drivers/media/dvb-frontends/m88rs2000.c