rsxx: Use fallthrough pseudo-keyword
PATCH 1/1 rsxx: Use fallthrough pseudo-keyword
Replace /* Fall through. */ comment with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/block/rsxx/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/rsxx/core.c +1 -1
@@ -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 :
Signature · 1 line
2.27.0
Quoted 4 lines · Gustavo A. R. Silva
Replace /* Fall through. */ comment with the new pseudo-keyword macro fallthrough[1].
Applied, thanks.
Signature · 1 line
Jens Axboe