diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-08-21 01:53:55 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-08-27 16:09:19 +0300 |
commit | 9ccac12996ec8b7a8dc05573d6dad8cc32b70b04 (patch) | |
tree | 80c180b1e7cb08aa492c0d29d631a8bac77f99ca /drivers/net/wireless/atmel/atmel.c | |
parent | ce3b6845fc4d9635324682a982cd04e31f81a872 (diff) | |
download | linux-9ccac12996ec8b7a8dc05573d6dad8cc32b70b04.tar.gz linux-9ccac12996ec8b7a8dc05573d6dad8cc32b70b04.tar.bz2 linux-9ccac12996ec8b7a8dc05573d6dad8cc32b70b04.zip |
atmel: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants 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: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200821065355.GA25808@embeddedor
Diffstat (limited to 'drivers/net/wireless/atmel/atmel.c')
-rw-r--r-- | drivers/net/wireless/atmel/atmel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/atmel/atmel.c b/drivers/net/wireless/atmel/atmel.c index 7d51f18c3b5c..707fe66727f8 100644 --- a/drivers/net/wireless/atmel/atmel.c +++ b/drivers/net/wireless/atmel/atmel.c @@ -1227,7 +1227,7 @@ static irqreturn_t service_interrupt(int irq, void *dev_id) case ISR_RxFRAMELOST: priv->wstats.discard.misc++; - /* fall through */ + fallthrough; case ISR_RxCOMPLETE: rx_done_irq(priv); break; |