projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d270a
)
ath5k: mark expected switch fall-through
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Thu, 24 May 2018 23:07:00 +0000
(18:07 -0500)
committer
Kalle Valo
<kvalo@codeaurora.org>
Wed, 13 Jun 2018 11:41:32 +0000
(14:41 +0300)
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>
drivers/net/wireless/ath/ath5k/pcu.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath5k/pcu.c
b/drivers/net/wireless/ath/ath5k/pcu.c
index f23c851765df49dfe35c650249b687abb2ebe965..05140d8baa360e73bb15bdf6b73135304b25ecd9 100644
(file)
--- a/
drivers/net/wireless/ath/ath5k/pcu.c
+++ b/
drivers/net/wireless/ath/ath5k/pcu.c
@@
-670,6
+670,7
@@
ath5k_hw_init_beacon_timers(struct ath5k_hw *ah, u32 next_beacon, u32 interval)
break;
case NL80211_IFTYPE_ADHOC:
AR5K_REG_ENABLE_BITS(ah, AR5K_TXCFG, AR5K_TXCFG_ADHOC_BCN_ATIM);
+ /* fall through */
default:
/* On non-STA modes timer1 is used as next DMA
* beacon alert (DBA) timer and timer2 as next