mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 18:41:00 +07:00
media: mxl5xx: add a fall-trough annotation
As pointed by Daniel Scheller <d.scheller@gmx.net>, sparse warns that a segment may fall through. We're deprecating this warning in favor of gcc 8 equivalent warning. In this specific case, the code for DVB-S applies for DVB-S2. In a matter of fact, several things there (like rolloff factor logic) assume that the transponder is DVB-S2. So, add the corresponding fall-trough markup, for gcc to properly ignore it. Reported-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
0cd3edc98b
commit
dfb7bcf0af
@ -739,6 +739,7 @@ static int get_frontend(struct dvb_frontend *fe,
|
||||
default:
|
||||
break;
|
||||
}
|
||||
/* Fall through */
|
||||
case SYS_DVBS:
|
||||
switch ((enum MXL_HYDRA_MODULATION_E)
|
||||
reg_data[DMD_MODULATION_SCHEME_ADDR]) {
|
||||
|
Loading…
Reference in New Issue
Block a user