From: Andy Walls Date: Mon, 12 May 2008 18:01:27 +0000 (-0300) Subject: V4L/DVB (7891): cx18/ivtv: fix open() kernel oops X-Git-Tag: v2.6.26-rc3~62^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07c87a833e9ef92280ed24ab85cd4eb49cbca9c0;p=pandora-kernel.git V4L/DVB (7891): cx18/ivtv: fix open() kernel oops Upon error conditions in cx18/ivtv_probe(), the code at the 'err:' label leaves a NULL entry in cx18/ivtv_cards[]. This can cause a NULL pointer de-reference in cx18/ivtv_v4l2_open() which is fixed by this patch. Signed-off-by: Andy Walls Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed