On Mon, Aug 04, 2014 at 06:57:31PM +0200, Lars-Peter Clausen wrote:
On 08/04/2014 06:37 PM, Takashi Iwai wrote:
Thanks, pulled now. The only build regression I've seen is the warning:
sound/soc/soc-dapm.c: In function ‘snd_soc_dapm_get_enum_double’: sound/soc/soc-dapm.c:2862:15: warning: ‘reg_val’ may be used uninitialized in this function [-Wmaybe-uninitialized]
I guess it came from the recent Lars' change. It just gives the garbage value and shouldn't be serious, but it'd be better to be fixed in anyways.
yep. looks like your compiler is a bit smarter than mine. I'll send a patch. The issue itself is harmless though since we even though we do some transformations on the uninitialized value the result of that is never used since we return a error code.
I'm not seeing that warning either. It might actually be that your compiler is smarter than Takashi's here - IIRC some of those warnings get suppressed if the compiler works out that the uninitialised value is never referenced.