From: Eric Sesterhenn Date: Tue, 10 Oct 2006 21:41:43 +0000 (-0700) Subject: [SCSI] lpfc: check before dereference in lpfc_ct.c X-Git-Tag: v2.6.19-rc4~86^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b3a82d391563da15df2b3a0d245d41748822489;p=pandora-kernel.git [SCSI] lpfc: check before dereference in lpfc_ct.c If we fail to allocate mp->virt during the first while loop iteration, mlist is still uninitialized, therefore we should check if before dereferencing. Signed-off-by: Eric Sesterhenn Acked-by: James Smart Signed-off-by: Andrew Morton Signed-off-by: James Bottomley --- Reading git-diff-tree failed