[alsa-devel] ASoC updates for v3.17
Mark Brown
broonie at kernel.org
Mon Aug 4 19:29:24 CEST 2014
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140804/2c1744ad/attachment-0001.sig>
More information about the Alsa-devel
mailing list