Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

staging: vc04_services: Use fallthrough pseudo-keyword

Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1].

[1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20200727183734.GA28824@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Gustavo A. R. Silva and committed by
Greg Kroah-Hartman
9038c6ac 02a25c9b

+1 -1
+1 -1
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
··· 2710 2710 2711 2711 case VCHIQ_SRVSTATE_OPENSYNC: 2712 2712 mutex_lock(&state->sync_mutex); 2713 - /* fall through */ 2713 + fallthrough; 2714 2714 case VCHIQ_SRVSTATE_OPEN: 2715 2715 if (close_recvd) { 2716 2716 if (!do_abort_bulks(service))