Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4914
b: refs/heads/master
c: e1bd232
h: refs/heads/master
v: v3
  • Loading branch information
Marcelo Feitoza Parisi authored and David S. Miller committed Jul 19, 2005
1 parent 8383524 commit 298be41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 322361b3712af97c19ab730b410f9ae5d9aad4c3
refs/heads/master: e1bd232b641a0d0ef184a5154409ef38aebb3155
3 changes: 2 additions & 1 deletion trunk/drivers/atm/idt77252.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ static char const rcsid[] =
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/wait.h>
#include <linux/jiffies.h>
#include <asm/semaphore.h>
#include <asm/io.h>
#include <asm/uaccess.h>
Expand Down Expand Up @@ -780,7 +781,7 @@ push_on_scq(struct idt77252_dev *card, struct vc_map *vc, struct sk_buff *skb)
return 0;

out:
if (jiffies - scq->trans_start > HZ) {
if (time_after(jiffies, scq->trans_start + HZ)) {
printk("%s: Error pushing TBD for %d.%d\n",
card->name, vc->tx_vcc->vpi, vc->tx_vcc->vci);
#ifdef CONFIG_ATM_IDT77252_DEBUG
Expand Down

0 comments on commit 298be41

Please sign in to comment.