]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
media: dm365_ipipeif: better annotate a fall though
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 6 Nov 2018 10:54:48 +0000 (05:54 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 6 Nov 2018 11:58:07 +0000 (06:58 -0500)
commitb50b769bcbc24d68d95870d87354ec45fa0f07bb
tree9bec708e307c5aa54ec1bfaf3d34ea111fa66fb4
parentef86eaf97acd6d82cd3fd40f997b1c8c4895a443
media: dm365_ipipeif: better annotate a fall though

Shut up this warning:

drivers/staging/media/davinci_vpfe/dm365_ipipeif.c: In function 'ipipeif_hw_setup':
drivers/staging/media/davinci_vpfe/dm365_ipipeif.c:298:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
   switch (isif_port_if) {
   ^~~~~~
drivers/staging/media/davinci_vpfe/dm365_ipipeif.c:314:2: note: here
  case IPIPEIF_SDRAM_YUV:
  ^~~~

By annotating a fall though case at the right place.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/davinci_vpfe/dm365_ipipeif.c