summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_transport_sas.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@us.ibm.com>2007-01-12 01:15:09 +0300
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-01-14 01:16:11 +0300
commitc8490f3a77805d04321d9e44486a679801a035b8 (patch)
treee4c3bd6c50a153f23bda213947a882216b34436d /drivers/scsi/scsi_transport_sas.c
parentf12164200f09ec10764f2cf96da335fd83062bc4 (diff)
downloadlinux-c8490f3a77805d04321d9e44486a679801a035b8.tar.xz
[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.c2
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;