[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>
This commit is contained in:
Darrick J. Wong 2007-01-11 14:15:09 -08:00 committed by James Bottomley
parent f12164200f
commit c8490f3a77

View File

@ -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;