diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-12 11:16:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-18 16:15:34 +0200 |
commit | 95f539b653f2be4e97c11f6acda1f99f819ce19f (patch) | |
tree | 04a15963d1d6a91700f6f7ce7dcae3f1a55756ba /drivers/staging/vc04_services | |
parent | 1813b3c3fb05f746a7f5502bf4cf95feb9f0241d (diff) | |
download | linux-stable-95f539b653f2be4e97c11f6acda1f99f819ce19f.tar.gz linux-stable-95f539b653f2be4e97c11f6acda1f99f819ce19f.tar.bz2 linux-stable-95f539b653f2be4e97c11f6acda1f99f819ce19f.zip |
staging: vc04_services: vchiq_core: 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>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services')
-rw-r--r-- | drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c index c3bb8e073367..ecff92bae200 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c @@ -2951,8 +2951,7 @@ vchiq_close_service_internal(VCHIQ_SERVICE_T *service, int close_recvd) case VCHIQ_SRVSTATE_OPENSYNC: mutex_lock(&state->sync_mutex); - /* Drop through */ - + /* fall through */ case VCHIQ_SRVSTATE_OPEN: if (state->is_master || close_recvd) { if (!do_abort_bulks(service)) |