projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89e54fa
)
zd1201: mark expected switch fall-through
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Mon, 22 Oct 2018 20:48:26 +0000
(22:48 +0200)
committer
Kalle Valo
<kvalo@codeaurora.org>
Tue, 6 Nov 2018 17:00:12 +0000
(19:00 +0200)
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/zydas/zd1201.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/zydas/zd1201.c
b/drivers/net/wireless/zydas/zd1201.c
index
2534038
..
22c70f1
100644
(file)
--- a/
drivers/net/wireless/zydas/zd1201.c
+++ b/
drivers/net/wireless/zydas/zd1201.c
@@
-969,6
+969,7
@@
static int zd1201_set_mode(struct net_device *dev,
*/
zd1201_join(zd, "\0-*#\0", 5);
/* Put port in pIBSS */
+ /* Fall through */
case 8: /* No pseudo-IBSS in wireless extensions (yet) */
porttype = ZD1201_PORTTYPE_PSEUDOIBSS;
break;