Commit 95f539b6 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Greg Kroah-Hartman

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: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1813b3c3
...@@ -2951,8 +2951,7 @@ vchiq_close_service_internal(VCHIQ_SERVICE_T *service, int close_recvd) ...@@ -2951,8 +2951,7 @@ vchiq_close_service_internal(VCHIQ_SERVICE_T *service, int close_recvd)
case VCHIQ_SRVSTATE_OPENSYNC: case VCHIQ_SRVSTATE_OPENSYNC:
mutex_lock(&state->sync_mutex); mutex_lock(&state->sync_mutex);
/* Drop through */ /* fall through */
case VCHIQ_SRVSTATE_OPEN: case VCHIQ_SRVSTATE_OPEN:
if (state->is_master || close_recvd) { if (state->is_master || close_recvd) {
if (!do_abort_bulks(service)) if (!do_abort_bulks(service))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment