]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: sun6i_mipi_dsi: Mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 20 Aug 2019 18:01:03 +0000 (13:01 -0500)
committerGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 21 Aug 2019 00:43:05 +0000 (19:43 -0500)
commitf3dff42f6852ec78d3d4e6ceb6d2add390c40194
tree9982c2fd23f766c8db2b31c43327c5fda5439329
parentb97d00e45f862897dfefe7159819fd804cdb5eef
drm/sun4i: sun6i_mipi_dsi: Mark expected switch fall-through

Mark switch cases where we are expecting to fall through.

Fix the following warning (Building: multi_v7_defconfig arm):

drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c: In function â€˜sun6i_dsi_transfer’:
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c:993:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if (msg->rx_len == 1) {
      ^
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c:998:2: note: here
  default:
  ^~~~~~~

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c