[alsa-devel] [PATCH] ASoC: mc13783: Ensure we only try to dereference valid of_nodes

Mark Brown broonie at kernel.org
Wed Oct 8 17:50:15 CEST 2014


On Wed, Oct 08, 2014 at 05:06:15PM +0200, Takashi Iwai wrote:

> I'd move the declaration of np into if block, too, so that it won't be
> referred in other places.

I generally dislike that style outside of very large functions; it's not
typical for C.
-------------- 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/20141008/b6f39f44/attachment.sig>


More information about the Alsa-devel mailing list