linux-next: build warning after merge of the sound-asoc tree
From: Stephen Rothwell
Date: Thu Sep 06 2018 - 20:57:17 EST
Hi all,
After merging the sound-asoc tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
sound/soc/soc-dapm.c: In function 'snd_soc_dai_link_event':
sound/soc/soc-dapm.c:3771:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
return ret;
^~~
This looks like a (subtle) false positive. You have to assume that all
the loops will be executed at least once.
Probably introduced by commit
4a75aae17b2a ("ASoC: dapm: Add support for multi-CODEC CODEC to CODEC links")
--
Cheers,
Stephen Rothwell
Attachment:
pgpvSbhXQKkij.pgp
Description: OpenPGP digital signature