projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
734be97
)
ALSA: es18xx: mark expected switch fall-through
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Thu, 2 Aug 2018 20:42:39 +0000
(15:42 -0500)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 3 Aug 2018 10:21:02 +0000
(12:21 +0200)
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 115075 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/es18xx.c
patch
|
blob
|
history
diff --git
a/sound/isa/es18xx.c
b/sound/isa/es18xx.c
index 2a6960c3e2a48fe21b00e500e2b8939bf60609ba..0d103d6f805e3282d4c4be73d8df8ee99801fd63 100644
(file)
--- a/
sound/isa/es18xx.c
+++ b/
sound/isa/es18xx.c
@@
-1024,6
+1024,7
@@
static int snd_es18xx_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem
val = 3;
} else
retVal = snd_es18xx_mixer_bits(chip, 0x7a, 0x08, 0x00) != 0x00;
+ /* fall through */
/* 4 source chips */
case 0x1868:
case 0x1878: