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
From: Marcin Ślusarz <hidden>
Date: 2007-03-29 18:41:22
Also in:
kernel-janitors
2007/3/28, Shani [off-list ref]:
@@ -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...