aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-11-08 01:01:02 -0500
committerRoland Dreier <rolandd@cisco.com>2005-11-10 13:22:50 -0500
commit0b4ff2c0e624089ad87dc1604e239b7c3201c53f (patch)
tree08d94f59d6f80937db5d87f0bb60eafcedd811d1 /drivers/infiniband/hw
parent8c608a32e3cd7ff14498ad996ca32d1452245a97 (diff)
[IB] mthca: fix typo in catastrophic error polling
Fix a typo in the rearming of the catastrophic error polling timer: we should rearm the timer as long as the stop flag is _not_ set. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_catas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_catas.c b/drivers/infiniband/hw/mthca/mthca_catas.c
index 7ac52af43b99..3447cd70ce32 100644
--- a/drivers/infiniband/hw/mthca/mthca_catas.c
+++ b/drivers/infiniband/hw/mthca/mthca_catas.c
@@ -94,7 +94,7 @@ static void poll_catas(unsigned long dev_ptr)
94 } 94 }
95 95
96 spin_lock_irqsave(&catas_lock, flags); 96 spin_lock_irqsave(&catas_lock, flags);
97 if (dev->catas_err.stop) 97 if (!dev->catas_err.stop)
98 mod_timer(&dev->catas_err.timer, 98 mod_timer(&dev->catas_err.timer,
99 jiffies + MTHCA_CATAS_POLL_INTERVAL); 99 jiffies + MTHCA_CATAS_POLL_INTERVAL);
100 spin_unlock_irqrestore(&catas_lock, flags); 100 spin_unlock_irqrestore(&catas_lock, flags);