diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2007-01-11 23:15:09 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-01-13 23:16:11 +0100 |
commit | c8490f3a77805d04321d9e44486a679801a035b8 (patch) | |
tree | e4c3bd6c50a153f23bda213947a882216b34436d /drivers/scsi/scsi_transport_sas.c | |
parent | [SCSI] aic94xx: Set lldd_max_execute_num in sas_ha (diff) | |
download | linux-c8490f3a77805d04321d9e44486a679801a035b8.tar.xz linux-c8490f3a77805d04321d9e44486a679801a035b8.zip |
[SCSI] libsas: Use SCAN_WILD_CARD instead of ~0
Magic number cleanup.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_transport_sas.c')
-rw-r--r-- | drivers/scsi/scsi_transport_sas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c index 9e38c1894bb2..e57b02e8afa5 100644 --- a/drivers/scsi/scsi_transport_sas.c +++ b/drivers/scsi/scsi_transport_sas.c @@ -1283,7 +1283,7 @@ int sas_rphy_add(struct sas_rphy *rphy) if (identify->device_type == SAS_END_DEVICE && rphy->scsi_target_id != -1) { scsi_scan_target(&rphy->dev, 0, - rphy->scsi_target_id, ~0, 0); + rphy->scsi_target_id, SCAN_WILD_CARD, 0); } return 0; |