Re: linux-next: build warning after merge of the sound-asoc tree

From: Vinod Koul
Date: Wed Apr 26 2017 - 22:25:40 EST


On Thu, Apr 27, 2017 at 11:29:20AM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> sound/soc/intel/skylake/bxt-sst.c: In function 'bxt_sst_dsp_init':
> sound/soc/intel/skylake/bxt-sst.c:567:14: warning: 'skl' may be used uninitialized in this function [-Wmaybe-uninitialized]
> dev_err(skl->dev, "%s: no device\n", __func__);
> ^
>

Yeah looks like that is the case, fortunately fix is quite simple, I will
send out soon

Thanks for reporting

> Introduced by commit
>
> 9fe9c7119283 ("ASoC: Intel: Skylake: Move sst common initialization to a helper function")
>
> This looks like an actual bug ...
>
> --
> Cheers,
> Stephen Rothwell

--
~Vinod