lkml.org 
[lkml]   [2008]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel/time.c: integer constant is too large for 'long' type warnings
Gabriel C wrote:
> Hi,
>
> with CONFIG_HZ_300=y I see these warnings :
>
> kernel/time.c: In function 'msecs_to_jiffies':
> kernel/time.c:472: warning: integer constant is too large for 'long' type
> kernel/time.c: In function 'usecs_to_jiffies':
> kernel/time.c:487: warning: integer constant is too large for 'long' type
>
> I think this was introduced by :
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=bdc807871d58285737d50dc6163d0feb72cb0dc2
>
> If you need more infos let me know.
>

There is a patch for this, already, but the bikeshed painters have been
whining about it.

The code is correct; it is a nuisance warning only.

-hpa


\
 
 \ /
  Last update: 2008-04-04 20:09    [W:0.038 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site