提交 c8490f3a 编写于 作者: D Darrick J. Wong 提交者: James Bottomley

[SCSI] libsas: Use SCAN_WILD_CARD instead of ~0

Magic number cleanup.
Signed-off-by: NDarrick J. Wong <djwong@us.ibm.com>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 f1216420
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册