diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-10 15:10:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-18 16:21:27 +0200 |
commit | a784e3ebddd3e7b8a6e651270a926638e362b101 (patch) | |
tree | 72ec01f3c28d082d81033a371506df010b0aa4cc /drivers/staging/greybus | |
parent | ddb35ab8d9481f24e41e19439fe33b4daaf8012d (diff) | |
download | linux-stable-a784e3ebddd3e7b8a6e651270a926638e362b101.tar.gz linux-stable-a784e3ebddd3e7b8a6e651270a926638e362b101.tar.bz2 linux-stable-a784e3ebddd3e7b8a6e651270a926638e362b101.zip |
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.c | 1 |
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: |