mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
4a784266c6
commit
99ba84c5de
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ static void card_state_change(struct rsxx_cardinfo *card,
|
|||
case CARD_STATE_FAULT:
|
||||
dev_crit(CARD_TO_DEV(card),
|
||||
"Hardware Fault reported!\n");
|
||||
/* Fall through. */
|
||||
fallthrough;
|
||||
|
||||
/* Everything else, detach DMA interface if it's attached. */
|
||||
case CARD_STATE_SHUTDOWN:
|
||||
|
|
Loading…
Add table
Reference in a new issue