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: rtl8712: 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/20200727185838.GA29595@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Gustavo A. R. Silva and committed by
Greg Kroah-Hartman
8dda212c 29ca39b5

+1 -1
+1 -1
drivers/staging/rtl8712/usb_ops_linux.c
··· 225 225 padapter->driver_stopped = true; 226 226 break; 227 227 } 228 - /* Fall through. */ 228 + fallthrough; 229 229 case -EPROTO: 230 230 r8712_read_port(padapter, precvpriv->ff_hwaddr, 0, 231 231 (unsigned char *)precvbuf);