fbdev: sh7760fb: Fix -Wimplicit-fallthrough warnings
authorGustavo A. R. Silva <gustavoars@kernel.org>
Thu, 22 Jun 2023 16:46:33 +0000 (10:46 -0600)
committerHelge Deller <deller@gmx.de>
Thu, 22 Jun 2023 17:37:52 +0000 (19:37 +0200)
commit7947540d1d1e76297869921ed601e2f47fa6f27d
tree0d0bf40d8c4e3ae0c117d3ca8b99f6b6b8281062
parent47fa0fac9bb5e525c5fa67bf06f3f663cf999841
fbdev: sh7760fb: Fix -Wimplicit-fallthrough warnings

Fix the following fallthrough warnings seen after building sh
architecture with sh7763rdp_defconfig configuration:

drivers/video/fbdev/sh7760fb.c: In function 'sh7760fb_get_color_info':
drivers/video/fbdev/sh7760fb.c:138:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  138 |                 lgray = 1;
      |                 ~~~~~~^~~
drivers/video/fbdev/sh7760fb.c:139:9: note: here
  139 |         case LDDFR_4BPP:
      |         ^~~~
drivers/video/fbdev/sh7760fb.c:143:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  143 |                 lgray = 1;
      |                 ~~~~~~^~~
drivers/video/fbdev/sh7760fb.c:144:9: note: here
  144 |         case LDDFR_8BPP:
      |         ^~~~

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/sh7760fb.c