[alsa-devel] [PATCH 2/4] ASoC: eukrea-tlv320: Fix of_node_put() call with uninitialized object

Mark Brown broonie at kernel.org
Tue Oct 7 19:18:00 CEST 2014


On Tue, Oct 07, 2014 at 06:19:52PM +0200, Takashi Iwai wrote:

> -	struct device_node *ssi_np, *codec_np;
> +	struct device_node *ssi_np = NULL, *codec_np;

As well as the NULL thing mixing initialized and unintialized things in
one declaration is something that's normally avoided.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141007/8ad89368/attachment.sig>


More information about the Alsa-devel mailing list