summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-hcd.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-25 21:49:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-01 19:02:15 +0300
commitf5a3908e88704397e213d46b352feccef36eb92c (patch)
tree14f070a1b7aed5d2587e9394bfd1a4a63dd96f67 /drivers/usb/host/ohci-hcd.c
parent1356cedd99aab15a60c4c4ade79e52c4b5200fdf (diff)
downloadlinux-f5a3908e88704397e213d46b352feccef36eb92c.tar.xz
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.