[media] media drivers: annotate fall-through
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 18 May 2017 11:13:28 +0000 (08:13 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 19 May 2017 10:10:03 +0000 (07:10 -0300)
commit06eeefe8e310bf955da7f82547c72c43e4653d97
tree59439c44354116dfcbff87d26f3bb18ebdf877e7
parent39c4806e0a6d8856d48ccea3af1d9569351facfe
[media] media drivers: annotate fall-through

Avoid warnings like those:

drivers/media/pci/ddbridge/ddbridge-core.c: In function 'dvb_input_detach':
drivers/media/pci/ddbridge/ddbridge-core.c:787:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if (input->fe) {
      ^
drivers/media/pci/ddbridge/ddbridge-core.c:792:2: note: here
  case 4:
  ^~~~
...

On several cases, it is just that gcc 7.1 is not capable of
understanding the comment, but on other places, we need an
annotation.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
35 files changed:
drivers/media/dvb-frontends/af9013.c
drivers/media/dvb-frontends/bcm3510.c
drivers/media/dvb-frontends/dib7000p.c
drivers/media/dvb-frontends/drx39xyj/drxj.c
drivers/media/dvb-frontends/drxd_hard.c
drivers/media/dvb-frontends/drxk_hard.c
drivers/media/dvb-frontends/mt352.c
drivers/media/dvb-frontends/or51132.c
drivers/media/dvb-frontends/s5h1411.c
drivers/media/dvb-frontends/zl10353.c
drivers/media/i2c/msp3400-kthreads.c
drivers/media/i2c/soc_camera/ov6650.c
drivers/media/pci/cx23885/cx23885-cards.c
drivers/media/pci/cx88/cx88-video.c
drivers/media/pci/ddbridge/ddbridge-core.c
drivers/media/pci/saa7134/saa7134-cards.c
drivers/media/pci/solo6x10/solo6x10-core.c
drivers/media/pci/solo6x10/solo6x10-i2c.c
drivers/media/platform/exynos4-is/fimc-capture.c
drivers/media/platform/marvell-ccic/mcam-core.c
drivers/media/platform/pxa_camera.c
drivers/media/platform/sh_vou.c
drivers/media/rc/iguanair.c
drivers/media/tuners/tda18271-fe.c
drivers/media/tuners/xc5000.c
drivers/media/usb/cpia2/cpia2_core.c
drivers/media/usb/cx231xx/cx231xx-video.c
drivers/media/usb/dvb-usb-v2/af9015.c
drivers/media/usb/dvb-usb-v2/lmedm04.c
drivers/media/usb/dvb-usb/dib0700_devices.c
drivers/media/usb/dvb-usb/dw2102.c
drivers/media/usb/gspca/ov519.c
drivers/media/usb/pwc/pwc-v4l.c
drivers/media/usb/usbvision/usbvision-i2c.c
drivers/media/usb/uvc/uvc_video.c