From: Brian Perkins <bperkins-ooduxAEi7gVg9hUCZPvPmw@public.gmane.org>
To: "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: 2.4.24 patch apply failed on vanilla kernel
Date: Thu, 08 Jan 2004 17:13:41 -0500 [thread overview]
Message-ID: <3FFDD615.1090107@netspace.org> (raw)
In-Reply-To: <3ACA40606221794F80A5670F0AF15F8401720CA3-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
Yu, Luming wrote:
> 0001 ( 1<< 33 , It's overflowed, but it should be 0 )
> 0002 ( 1<< 34 , It's overflowed, but it should be 0 )
According to all the doc that talk about this, the result is "undefined"
for bit > word_size.
In fact:
#cat > bar.c
main() {
(1ul <<33);
}
# gcc bar.c
bar.c: In function `main':
bar.c:2: warning: left shift count >= width of type
--
"I know you believe you understand what you think I said, but I am not
sure you realise that what you heard is not what I meant."
-- Alan Greenspan
Brian Perkins bperkins-ooduxAEi7gVg9hUCZPvPmw@public.gmane.org
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
next prev parent reply other threads:[~2004-01-08 22:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-08 9:46 2.4.24 patch apply failed on vanilla kernel Yu, Luming
[not found] ` <3ACA40606221794F80A5670F0AF15F8401720CA3-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-01-08 10:52 ` Luca Capello
2004-01-08 22:13 ` Brian Perkins [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-01-08 6:16 Yu, Luming
2004-01-07 12:46 Marcel Meckel
[not found] ` <20040107134658.5afa9142.acpi-X2Xph2rMQzhn68oJJulU0Q@public.gmane.org>
2004-01-07 14:25 ` wwp
[not found] ` <20040107152540.574f5882-qdKmdXVU2OY@public.gmane.org>
2004-01-07 16:07 ` Micha Feigin
[not found] ` <20040107160711.GB12275-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2004-01-07 16:38 ` wwp
2004-01-07 14:53 ` wwp
[not found] ` <20040107155325.5bfceba0-qdKmdXVU2OY@public.gmane.org>
2004-01-07 15:39 ` Marcel Meckel
[not found] ` <20040107163907.391c146e.acpi-X2Xph2rMQzhn68oJJulU0Q@public.gmane.org>
2004-01-07 15:50 ` wwp
[not found] ` <20040107165054.1fbfc829-qdKmdXVU2OY@public.gmane.org>
2004-01-07 20:01 ` Sérgio Monteiro Basto
[not found] ` <1073505678.7422.24.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2004-01-07 21:54 ` wwp
2004-01-07 21:56 ` wwp
[not found] ` <20040107225650.388f96d4-qdKmdXVU2OY@public.gmane.org>
2004-01-09 10:19 ` Len Brown
[not found] ` <1073643569.2447.66.camel-D2Zvc0uNKG8@public.gmane.org>
2004-01-09 10:33 ` wwp
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=3FFDD615.1090107@netspace.org \
--to=bperkins-ooduxaei7gvg9huczpvpmw@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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