diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/libata-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index 8def7a5e436a..c7ba523fb1eb 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c | |||
@@ -1349,13 +1349,13 @@ err_out_nosup: | |||
1349 | * PCI/etc. bus probe sem. | 1349 | * PCI/etc. bus probe sem. |
1350 | * | 1350 | * |
1351 | * RETURNS: | 1351 | * RETURNS: |
1352 | * Zero on success, non-zero on error. | 1352 | * Zero on success, negative errno otherwise. |
1353 | */ | 1353 | */ |
1354 | 1354 | ||
1355 | static int ata_bus_probe(struct ata_port *ap) | 1355 | static int ata_bus_probe(struct ata_port *ap) |
1356 | { | 1356 | { |
1357 | unsigned int classes[ATA_MAX_DEVICES]; | 1357 | unsigned int classes[ATA_MAX_DEVICES]; |
1358 | unsigned int i, rc, found = 0; | 1358 | int i, rc, found = 0; |
1359 | 1359 | ||
1360 | ata_port_probe(ap); | 1360 | ata_port_probe(ap); |
1361 | 1361 | ||
@@ -1421,7 +1421,7 @@ static int ata_bus_probe(struct ata_port *ap) | |||
1421 | 1421 | ||
1422 | err_out_disable: | 1422 | err_out_disable: |
1423 | ap->ops->port_disable(ap); | 1423 | ap->ops->port_disable(ap); |
1424 | return -1; | 1424 | return -ENODEV; |
1425 | } | 1425 | } |
1426 | 1426 | ||
1427 | /** | 1427 | /** |