Skip to content

Commit 02a25c9

Browse files
GustavoARSilvagregkh
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/20200727184042.GA29074@embeddedor Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 848e28b commit 02a25c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/staging/qlge/qlge_mpi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ void ql_mpi_idc_work(struct work_struct *work)
11741174
case MB_CMD_PORT_RESET:
11751175
case MB_CMD_STOP_FW:
11761176
ql_link_off(qdev);
1177-
/* Fall through */
1177+
fallthrough;
11781178
case MB_CMD_SET_PORT_CFG:
11791179
/* Signal the resulting link up AEN
11801180
* that the frame routing and mac addr
@@ -1207,7 +1207,7 @@ void ql_mpi_idc_work(struct work_struct *work)
12071207
*/
12081208
ql_link_off(qdev);
12091209
set_bit(QL_CAM_RT_SET, &qdev->flags);
1210-
/* Fall through. */
1210+
fallthrough;
12111211
case MB_CMD_IOP_DVR_START:
12121212
case MB_CMD_IOP_FLASH_ACC:
12131213
case MB_CMD_IOP_CORE_DUMP_MPI:

0 commit comments

Comments
 (0)