netdev
[Top] [All Lists]

Re: MSEC_TO_JIFFIES is messed up...

To: Andreas Schwab <schwab@xxxxxxx>
Subject: Re: MSEC_TO_JIFFIES is messed up...
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Sat, 15 May 2004 20:48:47 -0700
Cc: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>, Davide Libenzi <davidel@xxxxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxx>, Greg KH <greg@xxxxxxxxx>, Andrew Morton <akpm@xxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Netdev <netdev@xxxxxxxxxxx>
In-reply-to: <jevfj1nwe1.fsf@sykes.suse.de>
References: <20040512020700.6f6aa61f.akpm@osdl.org> <20040512181903.GG13421@kroah.com> <40A26FFA.4030701@pobox.com> <20040512193349.GA14936@elte.hu> <Pine.LNX.4.58.0405121247011.11950@bigblue.dev.mdolabs.com> <20040512200305.GA16078@elte.hu> <Pine.LNX.4.58.0405121400360.11950@bigblue.dev.mdolabs.com> <20040512213913.GA16658@fieldses.org> <jevfj1nwe1.fsf@sykes.suse.de>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, May 12, 2004 at 11:55:18PM +0200, Andreas Schwab wrote:

> Signed integer overflow is undefined in C, so the compiler is
> allowed to assume it does not happen.

Really?

Just because something is undefined assuming it never happens is a bit
of a leap of faith IMO.



  --cw

<Prev in Thread] Current Thread [Next in Thread>