projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c608a3
)
[IB] mthca: fix typo in catastrophic error polling
author
Roland Dreier
<rolandd@cisco.com>
Tue, 8 Nov 2005 06:01:02 +0000
(22:01 -0800)
committer
Roland Dreier
<rolandd@cisco.com>
Thu, 10 Nov 2005 18:22:50 +0000
(10:22 -0800)
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>
drivers/infiniband/hw/mthca/mthca_catas.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/mthca/mthca_catas.c
b/drivers/infiniband/hw/mthca/mthca_catas.c
index 7ac52af43b999caade4645d19f1b2cd244808917..3447cd70ce32c42c827170f19d434c6903ac565f 100644
(file)
--- 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)
}
spin_lock_irqsave(&catas_lock, flags);
- if (dev->catas_err.stop)
+ if (
!
dev->catas_err.stop)
mod_timer(&dev->catas_err.timer,
jiffies + MTHCA_CATAS_POLL_INTERVAL);
spin_unlock_irqrestore(&catas_lock, flags);