[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:
parent
f12164200f
commit
c8490f3a77
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue