From: Jeff Garzik <jgarzik@pobox.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Dave Jones <davej@codemonkey.org.uk>,
Corey Minyard <minyard@acm.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] PATCH: IPMI driver
Date: Thu, 9 Jan 2003 15:42:11 -0500 [thread overview]
Message-ID: <20030109204211.GA27752@gtf.org> (raw)
In-Reply-To: <1042143476.27796.66.camel@irongate.swansea.linux.org.uk>
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.
Jeff
prev parent reply other threads:[~2003-01-09 20:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200301090332.h093WML05981@hera.kernel.org>
2003-01-09 16:44 ` [PATCH] PATCH: IPMI driver Dave Jones
2003-01-09 18:06 ` Alan Cox
2003-01-09 17:22 ` Dave Jones
2003-01-09 18:12 ` Alan Cox
2003-01-09 19:16 ` Corey Minyard
2003-01-09 19:20 ` Dave Jones
2003-01-09 19:37 ` Corey Minyard
2003-01-09 20:17 ` Alan Cox
2003-01-09 19:37 ` Dave Jones
2003-01-09 20:42 ` Jeff Garzik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030109204211.GA27752@gtf.org \
--to=jgarzik@pobox.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=minyard@acm.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox