diff options
author | Gustavo A. R. Silva | 2019-04-29 20:19:50 +0200 |
---|---|---|
committer | Johannes Berg | 2019-05-24 11:26:44 +0200 |
commit | 85a55ff2cf6b73aab01732cc827f645563b7f3d1 (patch) | |
tree | d0562ace6e36979bffcb0c8013d16b5108a4c9f5 /crypto/cast5_generic.c | |
parent | mac80211: fix rate reporting inside cfg80211_calculate_bitrate_he() (diff) | |
download | kernel-qcow2-linux-85a55ff2cf6b73aab01732cc827f645563b7f3d1.tar.gz kernel-qcow2-linux-85a55ff2cf6b73aab01732cc827f645563b7f3d1.tar.xz kernel-qcow2-linux-85a55ff2cf6b73aab01732cc827f645563b7f3d1.zip |
mac80211_hwsim: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.
This patch fixes the following warning:
drivers/net/wireless/mac80211_hwsim.c: In function ‘init_mac80211_hwsim’:
drivers/net/wireless/mac80211_hwsim.c:3853:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
param.reg_strict = true;
~~~~~~~~~~~~~~~~~^~~~~~
drivers/net/wireless/mac80211_hwsim.c:3854:3: note: here
case HWSIM_REGTEST_DRIVER_REG_ALL:
^~~~
Warning level 3 was used: -Wimplicit-fallthrough=3
This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'crypto/cast5_generic.c')
0 files changed, 0 insertions, 0 deletions