From: Gustavo A. R. Silva Date: Tue, 10 Oct 2017 20:10:41 +0000 (-0500) Subject: staging: greybus: mark expected switch fall-through in check_urb_status X-Git-Tag: v4.19~2226^2~90 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a784e3ebddd3e7b8a6e651270a926638e362b101;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/es2.c b/drivers/staging/greybus/es2.c index f7b24e0..e451c2f 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: