2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/drivers/usb
Gustavo A. R. Silva d2fce70175 USB: musb: 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/usb/musb/musb_host.c: In function ‘musb_advance_schedule’:
drivers/usb/musb/musb_host.c:374:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
    if (qh->mux == 1) {
       ^
drivers/usb/musb/musb_host.c:383:3: note: here
   case USB_ENDPOINT_XFER_ISOC:
   ^~~~

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

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>
Acked-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-13 19:40:20 +01:00
..
atm USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
c67x00 USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00
chipidea Merge 5.0-rc4 into usb-next 2019-01-28 08:44:58 +01:00
class USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
common usb: roles: Add a description for the class to Kconfig 2018-12-17 14:07:59 +01:00
core USB: Fix configuration selection issues introduced in v4.20.0 2019-02-08 10:22:39 +01:00
dwc2 Merge 5.0-rc4 into usb-next 2019-01-28 08:44:58 +01:00
dwc3 Merge 5.0-rc6 into usb-next 2019-02-11 09:28:39 +01:00
early drivers: usb: early: clean up indentation, remove extraneous tabs 2018-11-23 16:13:14 +01:00
gadget Merge 5.0-rc6 into usb-next 2019-02-11 09:28:39 +01:00
host usb: host: oxu210hp-hcd: fix indentation issue 2019-02-12 10:30:48 +01:00
image USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
isp1760 USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
misc usb: ftdi-elan: Fix if == else warnings in ftdi_elan_respond_engine 2019-01-25 10:06:25 +01:00
mon USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
mtu3 USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
musb USB: musb: mark expected switch fall-through 2019-02-13 19:40:20 +01:00
phy Merge 5.0-rc6 into usb-next 2019-02-11 09:28:39 +01:00
renesas_usbhs usb: renesas_usbhs: replace udelay() with usleep_range() 2019-01-18 10:00:49 +01:00
roles USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
serial Merge 5.0-rc4 into usb-next 2019-01-28 08:44:58 +01:00
storage USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
typec Merge 5.0-rc6 into usb-next 2019-02-11 09:28:39 +01:00
usbip usbip: Fix vep_free_request() null pointer checks on input args 2019-01-30 09:22:35 +01:00
wusbcore USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
Kconfig USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
Makefile usb: roles: Add Intel xHCI USB role switch driver 2018-03-22 13:49:27 +01:00
usb-skeleton.c usb: usb-skeleton: use irqsave() in USB's complete callback 2018-06-28 19:36:06 +09:00