From: Gustavo A. R. Silva Date: Mon, 22 Oct 2018 20:43:05 +0000 (+0200) Subject: prism54: islpci_dev: mark expected switch fall-through X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=38a0792d08e98a9aac5bcf638d8533d3fa5ff253;p=linux.git 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 Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/intersil/prism54/islpci_dev.c b/drivers/net/wireless/intersil/prism54/islpci_dev.c index 325176d4d796a..ad6d3a56ae061 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;