[alsa-devel] [PATCH 1/4] ASoC: mc13783: Fix of_node_put() call with uninitialized object

Mark Brown broonie at kernel.org
Tue Oct 7 19:09:38 CEST 2014


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

> -	struct device_node *np;
> +	struct device_node *np = NULL;

No, unconditional initialisations like this are worse than the problem
they're trying to fix.
-------------- 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/e4adc370/attachment.sig>


More information about the Alsa-devel mailing list