[lkml]   [2003]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] PATCH: IPMI driver
On Thu, Jan 09, 2003 at 08:17:57PM +0000, Alan Cox wrote:
> On Thu, 2003-01-09 at 19:20, Dave Jones wrote:
> > time_diff = ((jiffies_now - kcs_info->last_timeout_jiffies)
> Thats valid for unsigned maths
> 0x00000001 - 0xFFFFFFFF = 0x00000002

Just as a general note (not to Alan), this often appears in ethernet
drivers, in their RX and TX producer/consumer ring counters... so don't
be surprised if you see this logic elsewhere in the kernel, too.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.040 / U:1.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site