Skip to content

Commit

Permalink
atm: fore200e: Fix fall-through warnings for Clang
Browse files Browse the repository at this point in the history
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a fallthrough pseudo-keyword.

Link: KSPP#115
Signed-off-by: Gustavo A. R. Silva <[email protected]>
  • Loading branch information
GustavoARSilva committed May 17, 2021
1 parent 963cdcc commit 47ce0b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/atm/fore200e.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 47ce0b6

Please sign in to comment.