]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: add some missing fall through annotations
authorLuca Coelho <luciano.coelho@intel.com>
Sat, 15 Dec 2018 09:03:21 +0000 (11:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Dec 2018 12:15:08 +0000 (13:15 +0100)
commit8ed9a6d46846ab4ba93c69c0632aed0479e72207
tree3db512a135aaed08bf8e4c5555a06f47b2e4b889
parentb8e977d8cde04241bc1286dcdf68155b3a6b9cbc
cfg80211: add some missing fall through annotations

There are talks about enabling -Wimplicit-fallthrough warnings in the
mainline and it is already enabled in linux-next.  Add all the
missing annotations to prevent warnings when this happens.

And in one case, remove the extra text from the annotation so that the
compiler recognizes it.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/chan.c
net/wireless/nl80211.c
net/wireless/scan.c