Commit 63fdc952 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Kalle Valo

mwifiex: Mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 38a0792d
...@@ -363,6 +363,7 @@ static int mwifiex_uap_parse_tail_ies(struct mwifiex_private *priv, ...@@ -363,6 +363,7 @@ static int mwifiex_uap_parse_tail_ies(struct mwifiex_private *priv,
(const u8 *)hdr, (const u8 *)hdr,
hdr->len + sizeof(struct ieee_types_header))) hdr->len + sizeof(struct ieee_types_header)))
break; break;
/* fall through */
default: default:
memcpy(gen_ie->ie_buffer + ie_len, hdr, memcpy(gen_ie->ie_buffer + ie_len, hdr,
hdr->len + sizeof(struct ieee_types_header)); hdr->len + sizeof(struct ieee_types_header));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment