]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] libsas: SMP request handler shouldn't crash when rphy is NULL
authorDarrick J. Wong <djwong@us.ibm.com>
Tue, 24 Jul 2007 16:33:49 +0000 (09:33 -0700)
committerJames Bottomley <jejb@mulgrave.localdomain>
Tue, 24 Jul 2007 17:02:26 +0000 (13:02 -0400)
commit2cd614c8732172524c36cd5245620338928062b6
tree82cf3eae2515f6ebe7a2fae8b51d06d034d990ed
parentbbf17d6483a7feb4c1eeef9fd553976d4f394e4c
[SCSI] libsas: SMP request handler shouldn't crash when rphy is NULL

sas_smp_handler crashes when smp utils are used with an aic94xx host
because certain devices (the sas_host itself, specifically) lack rphy
structures.  No rphy means no SMP target support, but we shouldn't crash
here.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_expander.c