From: Dan Carpenter <dan.carpenter@oracle.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org, Takashi Iwai <tiwai@suse.de>,
patches@opensource.wolfsonmicro.com,
kernel-janitors@vger.kernel.org,
Liam Girdwood <lgirdwood@gmail.com>
Subject: [patch] ASoC: wm8994: missing break in wm8994_get_fll_config()
Date: Wed, 15 May 2013 07:09:43 +0000 [thread overview]
Message-ID: <20130515070943.GB20381@elgon.mountain> (raw)
Smatch complains that:
sound/soc/codecs/wm8994.c:2087 wm8994_get_fll_config()
warn: missing break? reassigning 'fll->k'
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 9f32dd8..303d755 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -2080,6 +2080,7 @@ static int wm8994_get_fll_config(struct wm8994 *control, struct fll_div *fll,
fll->k = K / 10;
pr_debug("N=%x K=%x\n", fll->n, fll->k);
+ break;
default:
gcd_fll = gcd(freq_out, freq_in);
next reply other threads:[~2013-05-15 7:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-15 7:09 Dan Carpenter [this message]
2013-05-18 11:26 ` [patch] ASoC: wm8994: missing break in wm8994_get_fll_config() Mark Brown
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=20130515070943.GB20381@elgon.mountain \
--to=dan.carpenter@oracle.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=lgirdwood@gmail.com \
--cc=patches@opensource.wolfsonmicro.com \
--cc=tiwai@suse.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox