Skip to content

Commit 99ba84c

Browse files
GustavoARSilvaaxboe
authored andcommitted
rsxx: Use fallthrough pseudo-keyword
Replace /* Fall through. */ comment 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> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 4a78426 commit 99ba84c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/block/rsxx/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ static void card_state_change(struct rsxx_cardinfo *card,
439439
case CARD_STATE_FAULT:
440440
dev_crit(CARD_TO_DEV(card),
441441
"Hardware Fault reported!\n");
442-
/* Fall through. */
442+
fallthrough;
443443

444444
/* Everything else, detach DMA interface if it's attached. */
445445
case CARD_STATE_SHUTDOWN:

0 commit comments

Comments
 (0)