atm: fore200e: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:34:24 +0000 (12:34 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Mon, 17 May 2021 23:50:49 +0000 (18:50 -0500)
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a fallthrough pseudo-keyword.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/atm/fore200e.c

index b508df2ecadab7cd1b386e55123024dc2c3c1ea2..fb2be3574c26a85e79478b6d319077b7008d25cd 100644 (file)
@@ -420,6 +420,7 @@ fore200e_shutdown(struct fore200e* fore200e)
        /* XXX shouldn't we *start* by deregistering the device? */
        atm_dev_deregister(fore200e->atm_dev);
 
+       fallthrough;
     case FORE200E_STATE_BLANK:
        /* nothing to do for that state */
        break;