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: rtl8723bs: 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/20200727190657.GA30194@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Gustavo A. R. Silva and committed by
Greg Kroah-Hartman
52a1d9d4 43feb001

+1 -1
+1 -1
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
··· 568 568 ptable->func = &OnAuth; 569 569 else 570 570 ptable->func = &OnAuthClient; 571 - /* fall through */ 571 + fallthrough; 572 572 case WIFI_ASSOCREQ: 573 573 case WIFI_REASSOCREQ: 574 574 _mgt_dispatcher(padapter, ptable, precv_frame);