linux/drivers/staging/vt6656
Gustavo A. R. Silva 3623d4deff staging: vt6656: key: Mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.

This patch fixes the following warnings:

drivers/staging/vt6656/key.c: In function ‘vnt_set_keymode’:
drivers/staging/vt6656/key.c:70:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
   key->hw_key_idx = entry;
   ~~~~~~~~~~~~~~~~^~~~~~~
drivers/staging/vt6656/key.c:71:2: note: here
  case VNT_KEY_ALLGROUP:
  ^~~~
drivers/staging/vt6656/key.c:73:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if (onfly_latch)
      ^
drivers/staging/vt6656/key.c:75:2: note: here
  case VNT_KEY_GROUP_ADDRESS:
  ^~~~
drivers/staging/vt6656/key.c:76:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
   key_mode |= mode;
   ~~~~~~~~~^~~~~~~
drivers/staging/vt6656/key.c:77:2: note: here
  case VNT_KEY_GROUP:
  ^~~~

Warning level 3 was used: -Wimplicit-fallthrough=3

This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-19 11:14:14 +01:00
..
baseband.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
baseband.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
card.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
card.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
channel.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
channel.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
desc.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
device.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
dpc.c staging: vt6655: remove some redundant variables 2018-07-11 14:47:08 +02:00
dpc.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
firmware.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
firmware.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
int.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
int.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
Kconfig
key.c staging: vt6656: key: Mark expected switch fall-throughs 2019-02-19 11:14:14 +01:00
key.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
mac.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
mac.h staging: vt6656: Use the correct style for SPDX license Identifier 2019-02-07 13:33:54 +01:00
main_usb.c Staging: vt6656: Fix unnecessary 'out of memory' message 2018-01-08 16:45:45 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
power.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
power.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
rf.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
rf.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
rxtx.c staging: vt6655: remove some redundant variables 2018-07-11 14:47:08 +02:00
rxtx.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
TODO
usbpipe.c staging: vt6656: Remove unnecessary 'out of memory' message 2018-02-16 15:41:27 +01:00
usbpipe.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
wcmd.c staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
wcmd.h staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00