Em Sat, 23 Jun 2018 17:35:57 +0200
Daniel Scheller <d.scheller....@gmail.com> escreveu:

> From: Daniel Scheller <d.schel...@gmx.net>
> 
> Fix one sparse warning:
> 
>     drivers/media/dvb-frontends/mxl5xx.c:731:3: warning: this statement may 
> fall through [-Wimplicit-fallthrough=]
> 
> as seen in Hans' daily media_tree builds.
> 
> Signed-off-by: Daniel Scheller <d.schel...@gmx.net>
> ---
>  drivers/media/dvb-frontends/mxl5xx.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/media/dvb-frontends/mxl5xx.c 
> b/drivers/media/dvb-frontends/mxl5xx.c
> index 274d8fca0763..a7d08ace11ba 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;
>               }
> +             break;
>       case SYS_DVBS:
>               switch ((enum MXL_HYDRA_MODULATION_E)
>                       reg_data[DMD_MODULATION_SCHEME_ADDR]) {

Are you sure this is the right thing to do here? looking at the
code, I suspect that it should, instead, just adding a comment, as
the stuff below the SYS_DVBS case seem to be needed also for DVB-S2.



Thanks,
Mauro

Reply via email to