[SCSI] scsi_transport_sas: fix incorrect duplicate setup of max_phys
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 28 Jul 2009 16:39:05 +0000 (16:39 +0000)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:52:01 +0000 (17:52 -0500)
commita4a8b064dd06d30d007e46445d17575e2875c340
tree1dc550619f0e306d9a93eaad64c313bbe0e303ad
parent4643682ba50634db5cd61292711d031630baf233
[SCSI] scsi_transport_sas: fix incorrect duplicate setup of max_phys

There are two setup places for max_phys in scsi_transport_sas.c; one
incorrectly places a NULL into host_attrs instead of port_attrs.  Remove it.

Reported-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/scsi_transport_sas.c