[alsa-devel] [asoc:for-4.20 399/404] sound/soc/soc-dapm.c:3768:9: warning: 'ret' may be used uninitialized in this function

Charles Keepax ckeepax at opensource.cirrus.com
Thu Sep 6 17:10:32 CEST 2018


On Thu, Sep 06, 2018 at 07:46:38PM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-4.20
> head:   9ab708aef61f5620113269a9d1bdb1543d1207d0
> commit: 4a75aae17b2a802a7267206414050408392c374c [399/404] ASoC: dapm: Add support for multi-CODEC CODEC to CODEC links
> config: x86_64-randconfig-x006-201835 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
>         git checkout 4a75aae17b2a802a7267206414050408392c374c
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
>    sound/soc/soc-dapm.c: In function 'snd_soc_dai_link_event':
> >> sound/soc/soc-dapm.c:3768:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
>      return ret;
>             ^~~

Odd didn't show up on my system, guess I need to update my GCC.
Apologies will get a fixup patch out shortly.

Thanks,
Charles


More information about the Alsa-devel mailing list