[alsa-devel] [patch] ASoC: wm8994: missing break in wm8994_get_fll_config()
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);
On Wed, May 15, 2013 at 10:09:43AM +0300, Dan Carpenter wrote:
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
Applied, thanks.
participants (2)
-
Dan Carpenter
-
Mark Brown