]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: mxl5xx: add a fall-trough annotation
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 12 Sep 2018 12:19:27 +0000 (08:19 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 12 Sep 2018 12:24:54 +0000 (08:24 -0400)
commitdfb7bcf0af2d819a01a978a5fd475b96a0700cb3
tree9774b9174eb9cd883d6bf492fafe72e93af18712
parent0cd3edc98b66399eb5ab173e5732cb5b93846b6a
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>
drivers/media/dvb-frontends/mxl5xx.c