[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <481BA272.6080905@zytor.com>
Date: Fri, 02 May 2008 16:23:30 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: "Carlos R. Mafra" <crmafra@....unesp.br>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kernel/time.c: Silence gcc warning 'integer constant
to large for long type'
Linus Torvalds wrote:
>
> Make the timeconst.h file just contain sane macros. No preprocessor games
> etc. Just make it say
>
> #define USEC_TO_HZ_MUL32 ..correct-value-here..
>
> and not even generate macros with values that cannot be used (ie >64
> bits).
>
Updated git tree now available. The timeconst patch (the only one that
has changed) is attached.
git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-inttypes.git
-hpa
View attachment "0024-Use-U64_C-instead-of-casts-in-kernel-time.c.patch" of type "text/x-patch" (11811 bytes)
Powered by blists - more mailing lists