diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-10-22 23:43:05 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-11-06 19:59:38 +0300 |
commit | 38a0792d08e98a9aac5bcf638d8533d3fa5ff253 (patch) | |
tree | 209cc0070a2b41f07ff91e8ab8fa6d8422843f4d /drivers/net/wireless/intersil | |
parent | 3d238b9d5048886ca6c4dbbd1381c2ae81759a14 (diff) | |
download | linux-38a0792d08e98a9aac5bcf638d8533d3fa5ff253.tar.xz |
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>
Diffstat (limited to 'drivers/net/wireless/intersil')
-rw-r--r-- | drivers/net/wireless/intersil/prism54/islpci_dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intersil/prism54/islpci_dev.c b/drivers/net/wireless/intersil/prism54/islpci_dev.c index 325176d4d796..ad6d3a56ae06 100644 --- a/drivers/net/wireless/intersil/prism54/islpci_dev.c +++ b/drivers/net/wireless/intersil/prism54/islpci_dev.c @@ -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; |