linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gabriel C <nix.or.die@googlemail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>, Gabriel C <crazy@frugalware.org>
Subject: kernel/time.c: integer constant is too large for 'long' type warnings
Date: Fri, 04 Apr 2008 18:44:22 +0200	[thread overview]
Message-ID: <47F65AE6.4050500@googlemail.com> (raw)

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.


Regards,

Gabriel

             reply	other threads:[~2008-04-04 16:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-04 16:44 Gabriel C [this message]
2008-04-04 18:06 ` kernel/time.c: integer constant is too large for 'long' type warnings H. Peter Anvin

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=47F65AE6.4050500@googlemail.com \
    --to=nix.or.die@googlemail.com \
    --cc=crazy@frugalware.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).