From: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org,
"Gustavo A. R. Silva" <gustavo@embeddedor.com>,
patches@opensource.cirrus.com, Takashi Iwai <tiwai@suse.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Applied "ASoC: wm8996: Mark expected switch fall-through" to the asoc tree
Date: Thu, 2 Aug 2018 11:11:15 +0100 (BST) [thread overview]
Message-ID: <20180802101115.3A2BF1124241@debutante.sirena.org.uk> (raw)
In-Reply-To: <845b1d02cd1f37097d485988c60bc3958faec3e3.1533151956.git.gustavo@embeddedor.com>
The patch
ASoC: wm8996: Mark expected switch fall-through
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
>From 42ef3c94ff6e8315377c04504f1bce50d1f21738 Mon Sep 17 00:00:00 2001
From: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
Date: Wed, 1 Aug 2018 14:53:19 -0500
Subject: [PATCH] ASoC: wm8996: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 146354 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/wm8996.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c
index d9d206046f8c..78a408236cfb 100644
--- a/sound/soc/codecs/wm8996.c
+++ b/sound/soc/codecs/wm8996.c
@@ -1858,6 +1858,7 @@ static int wm8996_set_sysclk(struct snd_soc_dai *dai,
case 24576000:
ratediv = WM8996_SYSCLK_DIV;
wm8996->sysclk /= 2;
+ /* fall through */
case 11289600:
case 12288000:
snd_soc_component_update_bits(component, WM8996_AIF_RATE,
--
2.18.0
next prev parent reply other threads:[~2018-08-02 10:11 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-01 19:47 [PATCH 00/11] ASoC: codecs: Mark expected switch fall-throughs Gustavo A. R. Silva
2018-08-01 19:47 ` [PATCH 01/11] ASoC: wm8961: Mark expected switch fall-through Gustavo A. R. Silva
2018-08-02 10:12 ` Applied "ASoC: wm8961: Mark expected switch fall-through" to the asoc tree Mark Brown
2018-08-01 19:49 ` [PATCH 02/11] ASoC: rt5640: Mark expected switch fall-through Gustavo A. R. Silva
2018-08-02 10:12 ` Applied "ASoC: rt5640: Mark expected switch fall-through" to the asoc tree Mark Brown
2018-08-01 19:50 ` [PATCH 03/11] ASoC: rt5677: Mark expected switch fall-through Gustavo A. R. Silva
2018-08-02 10:11 ` Applied "ASoC: rt5677: Mark expected switch fall-through" to the asoc tree Mark Brown
2018-08-01 19:51 ` [PATCH 04/11] ASoC: wm8955: Mark expected switch fall-through Gustavo A. R. Silva
2018-08-01 19:51 ` Gustavo A. R. Silva
2018-08-02 10:11 ` Applied "ASoC: wm8955: Mark expected switch fall-through" to the asoc tree Mark Brown
2018-08-01 19:51 ` [PATCH 05/11] ASoC: wm8960: Mark expected switch fall-through Gustavo A. R. Silva
2018-08-02 10:11 ` Applied "ASoC: wm8960: Mark expected switch fall-through" to the asoc tree Mark Brown
2018-08-01 19:52 ` [PATCH 06/11] ASoC: wm8904: Mark expected switch fall-through Gustavo A. R. Silva
2018-08-02 10:11 ` Applied "ASoC: wm8904: Mark expected switch fall-through" to the asoc tree Mark Brown
2018-08-01 19:53 ` [PATCH 07/11] ASoC: wm8996: Mark expected switch fall-through Gustavo A. R. Silva
2018-08-02 10:11 ` Mark Brown [this message]
2018-08-01 19:54 ` [PATCH 08/11] ASoC: wm8962: " Gustavo A. R. Silva
2018-08-02 10:11 ` Applied "ASoC: wm8962: Mark expected switch fall-through" to the asoc tree Mark Brown
2018-08-01 19:54 ` [PATCH 09/11] ASoC: wm8995: Mark expected switch fall-through Gustavo A. R. Silva
2018-08-02 10:10 ` Applied "ASoC: wm8995: Mark expected switch fall-through" to the asoc tree Mark Brown
2018-08-01 19:55 ` [PATCH 10/11] ASoC: wm9081: Mark expected switch fall-through Gustavo A. R. Silva
2018-08-02 10:10 ` Applied "ASoC: wm9081: Mark expected switch fall-through" to the asoc tree Mark Brown
2018-08-01 19:56 ` [PATCH 11/11] ASoC: wm8994: Mark expected switch fall-through Gustavo A. R. Silva
2018-08-02 10:10 ` Applied "ASoC: wm8994: Mark expected switch fall-through" to the asoc tree Mark Brown
2018-08-03 16:26 ` [PATCH 11/11] ASoC: wm8994: Mark expected switch fall-through valdis.kletnieks
2018-08-03 16:41 ` Gustavo A. R. Silva
2018-08-03 16:45 ` Mark Brown
2018-08-03 16:45 ` Mark Brown
2018-08-03 16:56 ` Gustavo A. R. Silva
2018-08-03 17:55 ` valdis.kletnieks
2018-08-03 18:24 ` Gustavo A. R. Silva
2018-08-03 18:24 ` Gustavo A. R. Silva
2018-08-06 11:34 ` Mark Brown
2018-08-06 11:34 ` Mark Brown
2018-08-06 11:48 ` Gustavo A. R. Silva
2018-08-06 11:52 ` Mark Brown
2018-08-06 11:52 ` Mark Brown
2018-08-06 11:59 ` Gustavo A. R. Silva
2018-08-06 11:59 ` Gustavo A. R. Silva
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180802101115.3A2BF1124241@debutante.sirena.org.uk \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=gustavo@embeddedor.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.