Re: [kbuild-all] Re: sound/soc/soc-compress.c:75:28: warning: 'component' is used uninitialized in this function
From: Rong Chen
Date: Wed Apr 22 2020 - 03:39:39 EST
On 4/22/20 12:53 PM, Kuninori Morimoto wrote:
Hi Rong
Hmm... I still can't reproduce this issue.
I don't have gcc-6, thus can't try it.
Is this the issue ??
(snip)
We can reproduce the warning with gcc-6 (gcc version 6.5.0 20181026
(Debian 6.5.0-2)),
and the warning can be closed if changed to "struct snd_soc_component
*component = NULL, *save = NULL;"
Thank you for your feedback.
It sounds reasonable for me.
Can you post it ? or do you want me to do it ?
Thanks, I have posted it.
Best Regards,
Rong Chen