aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_nportdisc.c
diff options
context:
space:
mode:
authorEric Sesterhenn <snakebyte@gmx.de>2006-10-10 14:41:43 -0700
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-10-25 15:12:34 -0700
commit0b3a82d391563da15df2b3a0d245d41748822489 (patch)
tree8a8f4dca400220aae6fbe2747ef0af895b570601 /drivers/scsi/lpfc/lpfc_nportdisc.c
parent46c43db1eabcdc46ad9a3d711edff1d698ecd21f (diff)
[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 <snakebyte@gmx.de> Acked-by: James Smart <James.Smart@Emulex.Com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nportdisc.c')
0 files changed, 0 insertions, 0 deletions