[SCSI] mvsas: bug fix, null pointer may be used
authorAndy Yan <ayan@marvell.com>
Mon, 11 May 2009 13:49:52 +0000 (21:49 +0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 23 May 2009 20:44:08 +0000 (15:44 -0500)
commit0f980a871678b7ec143fcb45b31bf9234e4585c8
tree6178d37572dda96a16d3a21e4d5a21f79f01b7e6
parent0b84b7094e87769120def1e703b8b4d037281038
[SCSI] mvsas: bug fix, null pointer may be used

Null pointer check to avoid corruption.

Signed-off-by: Ying Chu <jasonchu@marvell.com>
Signed-off-by: Andy Yan <ayan@marvell.com>
Signed-off-by: Ke Wei <kewei@marvell.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/mvsas/mv_sas.c