From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Andi Kleen <ak@suse.de>
Cc: lkml <linux-kernel@vger.kernel.org>, akpm <akpm@osdl.org>
Subject: Re: [PATCH] x86_64: use UL on TASK_SIZE
Date: Sun, 23 Jan 2005 10:16:30 -0800 [thread overview]
Message-ID: <41F3E9FE.6050206@osdl.org> (raw)
In-Reply-To: <20050123105903.GA2788@wotan.suse.de>
Andi Kleen wrote:
> On Sat, Jan 22, 2005 at 10:56:17PM -0800, Randy.Dunlap wrote:
>
>>Use UL on large constant (kills 3214 sparse warnings :)
>>
>>include/linux/sched.h:1150:18: warning: constant 0x800000000000 is so big it is long
>
>
> Sounds more like a sparse bug to me. The C99 standard says the type
> of the constant is the first in which the constant can be represented.
> And that list includes unsigned long and even unsigned long long.
Thanks, I'll take it up on the sparse m-l.
--
~Randy
prev parent reply other threads:[~2005-01-23 18:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-23 6:56 [PATCH] x86_64: use UL on TASK_SIZE Randy.Dunlap
2005-01-23 10:59 ` Andi Kleen
2005-01-23 18:16 ` Randy.Dunlap [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=41F3E9FE.6050206@osdl.org \
--to=rddunlap@osdl.org \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--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