Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gustavo A. R. Silva and committed by
Jens Axboe
99ba84c5 4a784266

+1 -1
+1 -1
drivers/block/rsxx/core.c
··· 439 439 case CARD_STATE_FAULT: 440 440 dev_crit(CARD_TO_DEV(card), 441 441 "Hardware Fault reported!\n"); 442 - /* Fall through. */ 442 + fallthrough; 443 443 444 444 /* Everything else, detach DMA interface if it's attached. */ 445 445 case CARD_STATE_SHUTDOWN: