diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-11-20 12:34:24 -0600 |
---|---|---|
committer | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-05-17 18:50:49 -0500 |
commit | 47ce0b65bfb337a7bb4958b076ef8d2865d6d07c (patch) | |
tree | 412bf4f2dec35f347ebd4410bdb0143c23cbe6bd | |
parent | 963cdcc37e98b8dd2894a4a5d48c9d5fe0ae903b (diff) |
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 <gustavoars@kernel.org>
-rw-r--r-- | drivers/atm/fore200e.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index b508df2ecada..fb2be3574c26 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; |