diff options
-rw-r--r-- | drivers/ata/libata-core.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 53d11017a5c3..b514a80f1370 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -6967,12 +6967,11 @@ int ata_host_start(struct ata_host *host) | |||
6967 | if (ap->ops->port_start) { | 6967 | if (ap->ops->port_start) { |
6968 | rc = ap->ops->port_start(ap); | 6968 | rc = ap->ops->port_start(ap); |
6969 | if (rc) { | 6969 | if (rc) { |
6970 | ata_port_printk(ap, KERN_ERR, "failed to " | 6970 | if (rc != -ENODEV) |
6971 | "start port (errno=%d)\n", rc); | 6971 | dev_printk(KERN_ERR, host->dev, "failed to start port %d (errno=%d)\n", i, rc); |
6972 | goto err_out; | 6972 | goto err_out; |
6973 | } | 6973 | } |
6974 | } | 6974 | } |
6975 | |||
6976 | ata_eh_freeze_port(ap); | 6975 | ata_eh_freeze_port(ap); |
6977 | } | 6976 | } |
6978 | 6977 | ||