From: Gustavo A. R. Silva <garsilva@embeddedor.com>
Date: Wed, 25 Oct 2017 18:48:52 +0000 (-0500)
Subject: usb: host: fotg210-hcd: mark expected switch fall-through
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c3a831aedb8d985c0424b47fb2b5b7dc7d5116e4;p=linux.git

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>
---

diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c
index 457cc6525abd6..33a4f7ed0d7db 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.