mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
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>
This commit is contained in:
parent
1813b3c3fb
commit
95f539b653
1 changed files with 1 additions and 2 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue