diff options
Diffstat (limited to 'drivers/ata/libata-eh.c')
-rw-r--r-- | drivers/ata/libata-eh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 8d64f8fd8f1d..53b2348a364d 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c | |||
@@ -2204,7 +2204,7 @@ int ata_eh_reset(struct ata_link *link, int classify, | |||
2204 | unsigned long now = jiffies; | 2204 | unsigned long now = jiffies; |
2205 | 2205 | ||
2206 | if (time_before(now, deadline)) { | 2206 | if (time_before(now, deadline)) { |
2207 | unsigned long delta = deadline - jiffies; | 2207 | unsigned long delta = deadline - now; |
2208 | 2208 | ||
2209 | ata_link_printk(link, KERN_WARNING, "reset failed " | 2209 | ata_link_printk(link, KERN_WARNING, "reset failed " |
2210 | "(errno=%d), retrying in %u secs\n", | 2210 | "(errno=%d), retrying in %u secs\n", |