summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-hcd.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-25 20:49:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-01 17:02:15 +0100
commitf5a3908e88704397e213d46b352feccef36eb92c (patch)
tree14f070a1b7aed5d2587e9394bfd1a4a63dd96f67 /drivers/usb/host/ohci-hcd.c
parentusb: host: xhci-mem: mark expected switch fall-through (diff)
downloadlinux-f5a3908e88704397e213d46b352feccef36eb92c.tar.xz
linux-f5a3908e88704397e213d46b352feccef36eb92c.zip
usb: host: ohci-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/ohci-hcd.c')
-rw-r--r--drivers/usb/host/ohci-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
index 44924824fa41..15ec8f90aa6d 100644
--- a/drivers/usb/host/ohci-hcd.c
+++ b/drivers/usb/host/ohci-hcd.c
@@ -382,7 +382,7 @@ sanitize:
ed_free (ohci, ed);
break;
}
- /* else FALL THROUGH */
+ /* fall through */
default:
/* caller was supposed to have unlinked any requests;
* that's not our job. can't recover; must leak ed.