Thread (4 messages) 4 messages, 4 authors, 2007-03-29

Re: [KJ] Patch:replace with time_after in drivers/net/eexpress.c

From: Marcin Ślusarz <hidden>
Date: 2007-03-29 18:41:22
Also in: kernel-janitors

2007/3/28, Shani [off-list ref]:
quoted hunk ↗ jump to hunk
@@ -1650,7 +1651,7 @@ eexp_set_multicast(struct net_device *dev)
 #endif
                 oj = jiffies;
                 while ((SCB_CUstat(scb_status(dev)) == 2) &&
-                       ((jiffies-oj) < 2000));
+                       (time_after(jiffies, oj + 2000)));
                if (SCB_CUstat(scb_status(dev)) == 2)
                        printk("%s: warning, CU didn't stop\n", dev->name);
                 lp->started &= ~(STARTED_CU);
it should be time_before, not time_after...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help