[alsa-devel] [patch] move dereference after null check

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Nov 16 17:11:24 CET 2009


On Mon, Nov 16, 2009 at 11:06:33AM +0200, Dan Carpenter wrote:
> The 'jack' variable was dereference before the NULL check so this patch 
> moves the dereference later.
> 
> regards,
> dan carpenter
> 
> Signed-off-by: Dan Carpenter <error27 at gmail.com>

This does not apply to the current ASoC code, it appears that someone
else has already provided an equivalent change.  When doing work like
this it's normally best to work against -next to help avoid duplication
such as this.


More information about the Alsa-devel mailing list