[SCSI] scsi_transport_sas: fix panic in sas_free_rphy
authorJames Bottomley <James.Bottomley@steeleye.com>
Mon, 12 Jun 2006 14:09:18 +0000 (09:09 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Mon, 12 Jun 2006 15:38:51 +0000 (10:38 -0500)
commitc5943d36aebb79589ac3983eec418bbeca897573
tree6412182aab9b3f97e2163346cfc6c0a04af70be3
parent8d7feac3c7504425aaf61dc7d804685a6b89ee43
[SCSI] scsi_transport_sas: fix panic in sas_free_rphy

This is a hold over from the end device/expander conversion.  Apparently
the rphy list pointer is never initialised, so list_del() on the
uninitialised pointer can panic the system

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_sas.c