[alsa-devel] [GIT PULL] ASoC updates for v3.18

Fabio Estevam festevam at gmail.com
Tue Oct 7 19:53:12 CEST 2014


Hi Mark/Takashi,

On Tue, Oct 7, 2014 at 2:14 PM, Mark Brown <broonie at kernel.org> wrote:
> On Mon, Oct 06, 2014 at 02:37:53PM +0200, Takashi Iwai wrote:
>> Mark Brown wrote:
>
>> However, this resulted in a few new build warnings, and some of them
>> look correctly reported.
>
>> *  sound/soc/codecs/mc13783.c:787:13: warning: 'np' may be used uninitialized in this function [-Wuninitialized]
>
>> The call of_node_put(np) is done unconditionally even for non-NULL
>> pdata where np isn't initialized.  This may lead to a real crash.

Calling of_node_put() with NULL as an argument does not cause crashes.
Please check:
http://patchwork.ozlabs.org/patch/377930/

Regards,

Fabio Estevam


More information about the Alsa-devel mailing list