From: Gustavo A. R. Silva Date: Fri, 20 Nov 2020 18:34:24 +0000 (-0600) Subject: atm: fore200e: Fix fall-through warnings for Clang X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=47ce0b65bfb337a7bb4958b076ef8d2865d6d07c;p=linux.git atm: fore200e: Fix fall-through warnings for Clang 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 --- diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index b508df2ecadab..fb2be3574c26a 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore200e.c @@ -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;