Commit c8490f3a authored by Darrick J. Wong's avatar Darrick J. Wong Committed by James Bottomley

[SCSI] libsas: Use SCAN_WILD_CARD instead of ~0

Magic number cleanup.
Signed-off-by: default avatarDarrick J. Wong <djwong@us.ibm.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent f1216420
...@@ -1283,7 +1283,7 @@ int sas_rphy_add(struct sas_rphy *rphy) ...@@ -1283,7 +1283,7 @@ int sas_rphy_add(struct sas_rphy *rphy)
if (identify->device_type == SAS_END_DEVICE && if (identify->device_type == SAS_END_DEVICE &&
rphy->scsi_target_id != -1) { rphy->scsi_target_id != -1) {
scsi_scan_target(&rphy->dev, 0, scsi_scan_target(&rphy->dev, 0,
rphy->scsi_target_id, ~0, 0); rphy->scsi_target_id, SCAN_WILD_CARD, 0);
} }
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment