From: "J.D. Hood" <jdthood@yahoo.co.uk>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.4.10-ac11 parport_pc.c bugfix
Date: Thu, 11 Oct 2001 19:35:33 +0100 (BST) [thread overview]
Message-ID: <20011011183533.99436.qmail@web10305.mail.yahoo.com> (raw)
The fact that (unsigned long)-1 and ~0U have different
values on different arches isn't a problem.
What would be a problem is if (unsigned long)-1 were liable
to be given different values by different compilers, and
especially if (unsigned long)-1 were liable to be cast to
some number between 0 and 15. But I assume that the type
casting rules of C prohibit this---that (unsigned long)-1
is assured to be some very large positive integer. (Indeed,
the largest.) However I'm uncertain enough about this
assumption that I raise the present question about it.
Assuming that the assumption is correct [:)], the patch is fine
as it is and should go in.
BTW what problem is it you are having with PnP BIOS on your arch?
Can you refer me to a past thread title?
--
Thomas
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
next reply other threads:[~2001-10-11 18:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-11 18:35 J.D. Hood [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-10-11 2:20 Thomas Hood
2001-10-11 13:40 ` J . A . Magallon
2001-10-11 13:52 ` Thomas Hood
2001-10-11 14:52 ` Bob McElrath
2001-10-11 22:41 ` bill davidsen
2001-10-12 1:45 ` Thomas Hood
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=20011011183533.99436.qmail@web10305.mail.yahoo.com \
--to=jdthood@yahoo.co.uk \
--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
all inboxes | Powered by JetHome®