diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-17 19:14:50 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-12-11 06:16:04 -0500 |
commit | 02049ce27ef9d5ec0d74023a1487eb5c9bb38143 (patch) | |
tree | 00878002c4b9c87b313221a8653900a28a5d43f0 /net/mac80211/mesh_hwmp.c | |
parent | 51e18a453f5f59a40c721d4aeab082b4e2e9fac6 (diff) |
mac80211: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Notice that in some cases I replaced "fall through on else" and
"otherwise fall through" comments with just a "fall through" comment,
which is what GCC is expecting to find.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mesh_hwmp.c')
-rw-r--r-- | net/mac80211/mesh_hwmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/mesh_hwmp.c b/net/mac80211/mesh_hwmp.c index 4394463a0c2e..35ad3983ae4b 100644 --- a/net/mac80211/mesh_hwmp.c +++ b/net/mac80211/mesh_hwmp.c | |||
@@ -1250,6 +1250,7 @@ void mesh_path_tx_root_frame(struct ieee80211_sub_if_data *sdata) | |||
1250 | break; | 1250 | break; |
1251 | case IEEE80211_PROACTIVE_PREQ_WITH_PREP: | 1251 | case IEEE80211_PROACTIVE_PREQ_WITH_PREP: |
1252 | flags |= IEEE80211_PREQ_PROACTIVE_PREP_FLAG; | 1252 | flags |= IEEE80211_PREQ_PROACTIVE_PREP_FLAG; |
1253 | /* fall through */ | ||
1253 | case IEEE80211_PROACTIVE_PREQ_NO_PREP: | 1254 | case IEEE80211_PROACTIVE_PREQ_NO_PREP: |
1254 | interval = ifmsh->mshcfg.dot11MeshHWMPactivePathToRootTimeout; | 1255 | interval = ifmsh->mshcfg.dot11MeshHWMPactivePathToRootTimeout; |
1255 | target_flags |= IEEE80211_PREQ_TO_FLAG | | 1256 | target_flags |= IEEE80211_PREQ_TO_FLAG | |