Re: [DVB patch 54/54] ttusb-budget: use time_after_eq()

2005-09-04 Thread Johannes Stezenbach
On Sun, Sep 04, 2005 Nish Aravamudan wrote: > On 9/4/05, Johannes Stezenbach <[EMAIL PROTECTED]> wrote: > > On Sun, Sep 04, 2005 Nish Aravamudan wrote: > > > On 9/4/05, Johannes Stezenbach <[EMAIL PROTECTED]> wrote: > > > > > > > > -static int numpkt = 0, lastj, numts, numstuff, numsec, numinvalid;

Re: [DVB patch 54/54] ttusb-budget: use time_after_eq()

2005-09-04 Thread Nish Aravamudan
On 9/4/05, Johannes Stezenbach <[EMAIL PROTECTED]> wrote: > On Sun, Sep 04, 2005 Nish Aravamudan wrote: > > On 9/4/05, Johannes Stezenbach <[EMAIL PROTECTED]> wrote: > > > > > > -static int numpkt = 0, lastj, numts, numstuff, numsec, numinvalid; > > > +static int numpkt = 0, numts, numstuff, numsec

Re: [DVB patch 54/54] ttusb-budget: use time_after_eq()

2005-09-04 Thread Johannes Stezenbach
On Sun, Sep 04, 2005 Nish Aravamudan wrote: > On 9/4/05, Johannes Stezenbach <[EMAIL PROTECTED]> wrote: > > > > -static int numpkt = 0, lastj, numts, numstuff, numsec, numinvalid; > > +static int numpkt = 0, numts, numstuff, numsec, numinvalid; > > +static unsigned long lastj; > > > > static voi

[DVB patch 54/54] ttusb-budget: use time_after_eq()

2005-09-04 Thread Johannes Stezenbach
From: Marcelo Feitoza Parisi <[EMAIL PROTECTED]> Use of the time_after_eq() macro, defined at linux/jiffies.h, which deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi <[EMAIL PROTECTED]> Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> Signed-off-by: Johanne

Re: [DVB patch 54/54] ttusb-budget: use time_after_eq()

2005-09-04 Thread Nish Aravamudan
On 9/4/05, Johannes Stezenbach <[EMAIL PROTECTED]> wrote: > From: Marcelo Feitoza Parisi <[EMAIL PROTECTED]> > > Use of the time_after_eq() macro, defined at linux/jiffies.h, which deal > with wrapping correctly and are nicer to read. > > Signed-off-by: Marcelo Feitoza Parisi <[EMAIL PROTECTED]>