mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 22:14:20 +08:00
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>
This commit is contained in:
parent
af71f8fef4
commit
d56b26801e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user