summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-10 23:10:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-18 17:21:27 +0300
commita784e3ebddd3e7b8a6e651270a926638e362b101 (patch)
tree72ec01f3c28d082d81033a371506df010b0aa4cc /drivers/staging/greybus
parentddb35ab8d9481f24e41e19439fe33b4daaf8012d (diff)
downloadlinux-a784e3ebddd3e7b8a6e651270a926638e362b101.tar.xz
staging: greybus: mark expected switch fall-through in check_urb_status
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> Acked-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus')
-rw-r--r--drivers/staging/greybus/es2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/es2.c b/drivers/staging/greybus/es2.c
index f7b24e0eaa6f..e451c2f54a7e 100644
--- a/drivers/staging/greybus/es2.c
+++ b/drivers/staging/greybus/es2.c
@@ -761,6 +761,7 @@ static int check_urb_status(struct urb *urb)
case -EOVERFLOW:
dev_err(dev, "%s: overflow actual length is %d\n",
__func__, urb->actual_length);
+ /* fall through */
case -ECONNRESET:
case -ENOENT:
case -ESHUTDOWN: