diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-10-22 22:42:04 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-11-06 18:59:36 +0200 |
commit | d56b26801e1d7663f4d138fa8893174d91205586 (patch) | |
tree | 191a37641ca9bdad226a57ceebf2d5fe42f74c97 | |
parent | af71f8fef45ce7ebc2d4cab611942dbe439905f1 (diff) | |
download | linux-d56b26801e1d7663f4d138fa8893174d91205586.tar.gz linux-d56b26801e1d7663f4d138fa8893174d91205586.tar.bz2 linux-d56b26801e1d7663f4d138fa8893174d91205586.zip |
orinoco_usb: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/intersil/orinoco/orinoco_usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/intersil/orinoco/orinoco_usb.c b/drivers/net/wireless/intersil/orinoco/orinoco_usb.c index 21bb68457cfe..40a8b941ad5c 100644 --- a/drivers/net/wireless/intersil/orinoco/orinoco_usb.c +++ b/drivers/net/wireless/intersil/orinoco/orinoco_usb.c @@ -908,6 +908,7 @@ static int ezusb_access_ltv(struct ezusb_priv *upriv, case EZUSB_CTX_REQ_SUBMITTED: if (!ctx->in_rid) break; + /* fall through */ default: err("%s: Unexpected context state %d", __func__, state); |