diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-12 14:19:27 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-12 14:24:54 +0200 |
commit | dfb7bcf0af2d819a01a978a5fd475b96a0700cb3 (patch) | |
tree | 9774b9174eb9cd883d6bf492fafe72e93af18712 /drivers/media/dvb-frontends | |
parent | media: usbvision: remove time_in_irq (diff) | |
download | linux-dfb7bcf0af2d819a01a978a5fd475b96a0700cb3.tar.xz linux-dfb7bcf0af2d819a01a978a5fd475b96a0700cb3.zip |
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>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r-- | drivers/media/dvb-frontends/mxl5xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/mxl5xx.c b/drivers/media/dvb-frontends/mxl5xx.c index e1c544079075..6191315f5970 100644 --- a/drivers/media/dvb-frontends/mxl5xx.c +++ b/drivers/media/dvb-frontends/mxl5xx.c @@ -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]) { |