diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-05-25 16:22:07 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-06-13 14:45:20 +0300 |
commit | 12b67b0d6bcbe91d8b0682610f43d1cd8cdf280e (patch) | |
tree | 1d9e2e2f0b36c90a2fcb613202fc5bf4dbb5276b /drivers/net/wireless/ath/ath9k/ar9002_phy.c | |
parent | 4de30c906ef08af67c6d81c03e3505ee467db026 (diff) | |
download | linux-12b67b0d6bcbe91d8b0682610f43d1cd8cdf280e.tar.gz |
ath9k: mark expected switch fall-throughs
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9002_phy.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9002_phy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_phy.c b/drivers/net/wireless/ath/ath9k/ar9002_phy.c index 61a9b85045d2..713291881208 100644 --- a/drivers/net/wireless/ath/ath9k/ar9002_phy.c +++ b/drivers/net/wireless/ath/ath9k/ar9002_phy.c @@ -119,6 +119,7 @@ static int ar9002_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) aModeRefSel = 2; if (aModeRefSel) break; + /* else: fall through */ case 1: default: aModeRefSel = 0; |