lkml.org 
[lkml]   [2008]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectbug in jiffy time comparison macros
From
Date
It may just be me :-) but this looks like a bug:
In the current include/linux/jiffies.h:

#define time_before(a,b) time_after(b,a)

Shouldn't this be:

#define time_before(a,b) time_after_eq(b,a)

There are a number of similar macros which fail
to change before to after_eq, or before_eq to after,
etc.



\
 
 \ /
  Last update: 2008-06-11 02:33    [W:0.034 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site