From: Jiri Slaby Date: Sat, 4 Sep 2010 12:32:25 +0000 (+0200) Subject: Staging: lirc, fix NULL dereference X-Git-Tag: v2.6.37-rc1~60^2~3^2~714 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc92ac20496fa24209712ab561738f4f8b57336a;p=pandora-kernel.git Staging: lirc, fix NULL dereference When 'context' allocation fails in imon_probe, we jump to unlock context->ctx_lock. This is wrong as context is NULL and the lock is not locked. Fix the labels. Signed-off-by: Jiri Slaby Cc: Jarod Wilson Cc: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed