diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-11-20 12:33:39 -0600 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-12-08 10:06:53 +0200 |
commit | 48264b23fadee1d240729d87afdda3a42da22290 (patch) | |
tree | 04ea16aab19206c18d802ed550a04e887f025259 /drivers/net/wireless/cisco | |
parent | d3b6fab909525cce715a281c5c19ce2ab7b3fcec (diff) | |
download | linux-48264b23fadee1d240729d87afdda3a42da22290.tar.bz2 |
airo: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.
Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/b3c0f74f5b6e6bff9f1609b310319b6fdd9ee205.1605896059.git.gustavoars@kernel.org
Diffstat (limited to 'drivers/net/wireless/cisco')
-rw-r--r-- | drivers/net/wireless/cisco/airo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/cisco/airo.c b/drivers/net/wireless/cisco/airo.c index ba62bb2995d9..e35e1380ae43 100644 --- a/drivers/net/wireless/cisco/airo.c +++ b/drivers/net/wireless/cisco/airo.c @@ -7065,6 +7065,7 @@ static int airo_set_power(struct net_device *dev, local->config.rmode &= ~RXMODE_MASK; local->config.rmode |= RXMODE_BC_MC_ADDR; set_bit (FLAG_COMMIT, &local->flags); + break; case IW_POWER_ON: /* This is broken, fixme ;-) */ break; |