OpenCloudOS-Kernel/drivers/input/joystick
Gustavo A. R. Silva 4e116e93f4 Input: db9 - mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.

This patch fixes the following warning:

drivers/input/joystick/db9.c: In function ‘db9_saturn_read_packet’:
drivers/input/joystick/db9.c:256:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if (tmp == 0xff) {
      ^
drivers/input/joystick/db9.c:263:2: note: here
  default:
  ^~~~~~~

Notice that, in this particular case, the code comment is modified
in accordance with what GCC is expecting to find.

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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2019-02-16 21:39:42 -08:00
..
iforce Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2018-08-18 16:48:07 -07:00
Kconfig docs: Fix some broken references 2018-06-15 18:10:01 -03:00
Makefile Input: pxrc - new driver for PhoenixRC Flight Controller Adapter 2018-03-26 15:22:20 -07:00
a3d.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
adi.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
amijoy.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
analog.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
as5011.c Input: as5011 - avoid using __set_bit() for capabilities 2018-05-08 15:36:02 -07:00
cobra.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
db9.c Input: db9 - mark expected switch fall-through 2019-02-16 21:39:42 -08:00
gamecon.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
gf2k.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
grip.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
grip_mp.c Input: delete non-required instances of include <linux/init.h> 2014-01-06 23:23:57 -08:00
guillemot.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
interact.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
joydump.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2018-08-18 16:48:07 -07:00
magellan.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
maplecontrol.c Input: maplecontrol - drop unnecessary call to input_set_drvdata 2017-01-22 17:22:27 -08:00
psxpad-spi.c Input: add support for PlayStation 1/2 joypads connected via SPI 2017-05-10 14:35:48 -07:00
pxrc.c Input: pxrc - flatten probe code 2018-07-25 19:04:19 +00:00
sidewinder.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
spaceball.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
spaceorb.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
stinger.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
tmdc.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
turbografx.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
twidjoy.c Input: twidjoy - constify serio_device_id 2017-08-18 17:14:15 -07:00
walkera0701.c docs: Fix some broken references 2018-06-15 18:10:01 -03:00
warrior.c Input: stop telling users to snail-mail Vojtech 2018-07-26 17:04:37 -07:00
xpad.c Input: xpad - quirk all PDP Xbox One gamepads 2018-12-03 11:37:54 -08:00
zhenhua.c Input: zhenhua - constify serio_device_id 2017-08-18 17:14:17 -07:00