[SCSI] mptfusion: sanity check for vdevice pointer is added
authorKashyap, Desai <kashyap.desai@lsi.com>
Thu, 18 Mar 2010 13:52:45 +0000 (19:22 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:24:10 +0000 (09:24 -0500)
commit08f5c5c23d52aa385ff304becffb0e0c37cedfe5
tree5e6b65987b69ee4c240b413fc682b37935bd13e5
parentf8c23bde85091b696e72d00bc6aa16216a9862f7
[SCSI] mptfusion: sanity check for vdevice pointer is added

Added sanity checks before accessing vdevice and added vdevice->deleted
setting for mptfc.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/message/fusion/mptctl.c
drivers/message/fusion/mptfc.c
drivers/message/fusion/mptscsih.c