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: rtl8192e: 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/20200727191006.GA30474@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Gustavo A. R. Silva and committed by
Greg Kroah-Hartman
49e86ae1 b031d10a

+1 -1
+1 -1
drivers/staging/rtl8192e/rtllib_wx.c
··· 680 680 switch (mlme->cmd) { 681 681 case IW_MLME_DEAUTH: 682 682 deauth = true; 683 - /* fall through */ 683 + fallthrough; 684 684 case IW_MLME_DISASSOC: 685 685 if (deauth) 686 686 netdev_info(ieee->dev, "disauth packet !\n");