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: qlge: 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/20200727184042.GA29074@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Gustavo A. R. Silva and committed by
Greg Kroah-Hartman
02a25c9b 848e28b4

+2 -2
+2 -2
drivers/staging/qlge/qlge_mpi.c
··· 1174 1174 case MB_CMD_PORT_RESET: 1175 1175 case MB_CMD_STOP_FW: 1176 1176 ql_link_off(qdev); 1177 - /* Fall through */ 1177 + fallthrough; 1178 1178 case MB_CMD_SET_PORT_CFG: 1179 1179 /* Signal the resulting link up AEN 1180 1180 * that the frame routing and mac addr ··· 1207 1207 */ 1208 1208 ql_link_off(qdev); 1209 1209 set_bit(QL_CAM_RT_SET, &qdev->flags); 1210 - /* Fall through. */ 1210 + fallthrough; 1211 1211 case MB_CMD_IOP_DVR_START: 1212 1212 case MB_CMD_IOP_FLASH_ACC: 1213 1213 case MB_CMD_IOP_CORE_DUMP_MPI: