summaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-25 21:48:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-01 19:02:15 +0300
commitc3a831aedb8d985c0424b47fb2b5b7dc7d5116e4 (patch)
tree7cde58dc52c1c21165bc6fe7f261a3085bf7baa5 /drivers/usb/host
parentf10f4715bd6e383ebe3f20ac060cb8beecca47dc (diff)
downloadlinux-c3a831aedb8d985c0424b47fb2b5b7dc7d5116e4.tar.xz
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.