Skip to content

Commit

Permalink
[SCSI] libsas: Use SCAN_WILD_CARD instead of ~0
Browse files Browse the repository at this point in the history
Magic number cleanup.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Darrick J. Wong authored and James Bottomley committed Jan 13, 2007
1 parent f121642 commit c8490f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/scsi_transport_sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c8490f3

Please sign in to comment.