diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-10-02 18:59:28 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-02 17:54:45 -0600 |
commit | 99ba84c5de1e2f5b2b78e9e3bc89e50ec9bc0f29 (patch) | |
tree | a86f48de7bcf39bd763c4ee1e77a3ab0480266f9 /drivers/block/rsxx | |
parent | 4a784266c6a75f375e08915b35e909df19eff17f (diff) |
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>
Diffstat (limited to 'drivers/block/rsxx')
-rw-r--r-- | drivers/block/rsxx/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rsxx/core.c b/drivers/block/rsxx/core.c index 8799e3bab067..63f549889f87 100644 --- a/drivers/block/rsxx/core.c +++ b/drivers/block/rsxx/core.c @@ -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: |