From: Wei Yongjun Date: Thu, 29 Nov 2012 02:56:15 +0000 (-0300) Subject: [media] mt9v022: fix potential NULL pointer dereference in mt9v022_probe() X-Git-Tag: v3.9-rc1~93^2~290 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daf16bab1eaf5a82217697bfb91eb7d9c9745d0d;p=pandora-kernel.git [media] mt9v022: fix potential NULL pointer dereference in mt9v022_probe() The dereference to 'icl' should be moved below the NULL test. Reported-by: Fengguang Wu Signed-off-by: Wei Yongjun Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed