linux/drivers/net/can/usb
Gustavo A. R. Silva 368444dd7a can: pcan_usb_core: fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by
moving the "default" to the end of the "switch" statement and explicitly adding
a break statement instead of letting the code fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Reported-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: http://lore.kernel.org/r/aab7cf16bf43cc7c3e9c9930d2dae850c1d07a3c.1605896059.git.gustavoars@kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
[mkl: move default to end]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2020-11-29 21:19:11 +01:00
..
kvaser_usb can: kvaser_usb: Add new Kvaser hydra devices 2020-11-20 12:06:47 +01:00
peak_usb can: pcan_usb_core: fix fall-through warnings for Clang 2020-11-29 21:19:11 +01:00
ems_usb.c can: replace can_dlc as variable/element for payload length 2020-11-20 12:04:12 +01:00
esd_usb2.c can: drivers: add len8_dlc support for esd_usb2 CAN adapter 2020-11-20 12:05:14 +01:00
gs_usb.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-11-27 18:25:27 -08:00
Kconfig can: kvaser_usb: Add new Kvaser hydra devices 2020-11-20 12:06:47 +01:00
Makefile can: kvaser_usb: Split driver into kvaser_usb_core.c and kvaser_usb_leaf.c 2018-07-27 10:40:19 +02:00
mcba_usb.c can: replace can_dlc as variable/element for payload length 2020-11-20 12:04:12 +01:00
ucan.c can: replace can_dlc as variable/element for payload length 2020-11-20 12:04:12 +01:00
usb_8dev.c can: drivers: add len8_dlc support for various CAN adapters 2020-11-20 12:05:14 +01:00