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

From: Stephen Rothwell
Date: Wed Nov 01 2017 - 00:13:15 EST


Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

sound/soc/stm/stm32_sai_sub.c: In function 'stm32_sai_hw_params':
sound/soc/stm/stm32_sai_sub.c:485:7: warning: 'cr1' may be used uninitialized in this function [-Wmaybe-uninitialized]
cr1 |= SAI_XCR1_DS_SET(SAI_DATASIZE_8);
^
sound/soc/stm/stm32_sai_sub.c:469:6: note: 'cr1' was declared here
int cr1, cr1_mask, ret;
^

Introduced by commit

61fb4ff70377 ("ASoC: stm32: sai: Move static settings to DAI init")

--
Cheers,
Stephen Rothwell