bnx2x: Use fallthrough pseudo-keyword
PATCH 1/1 bnx2x: Use fallthrough pseudo-keyword
Replace /* no break */ comments with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +2 -2
@@ -6313,11 +6313,11 @@ static void bnx2x_init_internal(struct bnx2x *bp, u32 load_code)case FW_MSG_CODE_DRV_LOAD_COMMON :case FW_MSG_CODE_DRV_LOAD_COMMON_CHIP :bnx2x_init_internal_common (bp); -/* no break */ + fallthrough;case FW_MSG_CODE_DRV_LOAD_PORT :/* nothing to do */ -/* no break */ + fallthrough;case FW_MSG_CODE_DRV_LOAD_FUNCTION :/* internal memory per function is
Signature · 1 line
2.27.0
From: "Gustavo A. R. Silva" <[email protected]>
Date: Fri, 2 Oct 2020 18:26:11 -0500
Quoted 6 lines
Replace /* no break */ comments with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
Applied.