diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-01 10:58:25 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-08-01 18:13:04 +0200 |
commit | 5a6cd13d4faef48bdcb7ae9c1e98175332ced7cd (patch) | |
tree | 7437ebb8e65b8a840ec9decb1d758f25201ae927 /sound/core/oss | |
parent | d36455a38ed82e7d1e6807573935874f0b279f45 (diff) | |
download | linux-5a6cd13d4faef48bdcb7ae9c1e98175332ced7cd.tar.bz2 |
ALSA: pcm: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 1357375 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/oss')
-rw-r--r-- | sound/core/oss/pcm_plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/oss/pcm_plugin.c b/sound/core/oss/pcm_plugin.c index 85bab922ce69..0391cb1a4f19 100644 --- a/sound/core/oss/pcm_plugin.c +++ b/sound/core/oss/pcm_plugin.c @@ -353,6 +353,7 @@ snd_pcm_format_t snd_pcm_plug_slave_format(snd_pcm_format_t format, if (snd_mask_test(format_mask, (__force int)format1)) return format1; } + /* fall through */ default: return (__force snd_pcm_format_t)-EINVAL; } |