projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56e40eb
)
ALSA: mixart: Mark expected switch fall-through
author
Gustavo A. R. Silva
<gustavo@embeddedor.com>
Sat, 4 Aug 2018 20:11:03 +0000
(15:11 -0500)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 6 Aug 2018 07:33:42 +0000
(09:33 +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: Takashi Iwai <tiwai@suse.de>
sound/pci/mixart/mixart.c
patch
|
blob
|
history
diff --git
a/sound/pci/mixart/mixart.c
b/sound/pci/mixart/mixart.c
index
a74f1ad
..
9cd297a
100644
(file)
--- a/
sound/pci/mixart/mixart.c
+++ b/
sound/pci/mixart/mixart.c
@@
-182,6
+182,7
@@
static int mixart_set_clock(struct mixart_mgr *mgr,
case PIPE_RUNNING:
if(rate != 0)
break;
+ /* fall through */
default:
if(rate == 0)
return 0; /* nothing to do */