mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
prism54: islpci_dev: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 114947 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
3d238b9d50
commit
38a0792d08
1 changed files with 1 additions and 0 deletions
|
|
@ -932,6 +932,7 @@ islpci_set_state(islpci_private *priv, islpci_state_t new_state)
|
|||
switch (new_state) {
|
||||
case PRV_STATE_OFF:
|
||||
priv->state_off++;
|
||||
/* fall through */
|
||||
default:
|
||||
priv->state = new_state;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue