aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-25 13:48:52 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-01 17:02:15 +0100
commitc3a831aedb8d985c0424b47fb2b5b7dc7d5116e4 (patch)
tree7cde58dc52c1c21165bc6fe7f261a3085bf7baa5 /drivers/usb/host
parentusb: image: mdc800: mark expected switch fall-through (diff)
downloadlinux-dev-c3a831aedb8d985c0424b47fb2b5b7dc7d5116e4.tar.xz
linux-dev-c3a831aedb8d985c0424b47fb2b5b7dc7d5116e4.zip
usb: host: fotg210-hcd: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/fotg210-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c
index 457cc6525abd..33a4f7ed0d7d 100644
--- a/drivers/usb/host/fotg210-hcd.c
+++ b/drivers/usb/host/fotg210-hcd.c
@@ -5449,7 +5449,7 @@ idle_timeout:
qh_destroy(fotg210, qh);
break;
}
- /* else FALL THROUGH */
+ /* fall through */
default:
/* caller was supposed to have unlinked any requests;
* that's not our job. just leak this memory.