]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] libsas: Use SCAN_WILD_CARD instead of ~0
authorDarrick J. Wong <djwong@us.ibm.com>
Thu, 11 Jan 2007 22:15:09 +0000 (14:15 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 13 Jan 2007 22:16:11 +0000 (16:16 -0600)
Magic number cleanup.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_sas.c

index 9e38c1894bb2625562bf847decebf69466868264..e57b02e8afa580c03e064790cae8928eefeb1dd8 100644 (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;