From: Bob McElrath <mcelrath@draal.physics.wisc.edu>
To: Thomas Hood <jdthood@mail.com>
Cc: "J . A . Magallon" <jamagallon@able.es>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.4.10-ac11 parport_pc.c bugfix
Date: Thu, 11 Oct 2001 09:52:03 -0500 [thread overview]
Message-ID: <20011011095202.H1177@draal.physics.wisc.edu> (raw)
In-Reply-To: <1002766826.7434.38.camel@thanatos> <20011011154039.C3904@werewolf.able.es> <1002808349.10317.7.camel@thanatos>
In-Reply-To: <1002808349.10317.7.camel@thanatos>; from jdthood@mail.com on Thu, Oct 11, 2001 at 09:52:27AM -0400
[-- Attachment #1: Type: text/plain, Size: 637 bytes --]
Thomas Hood [jdthood@mail.com] wrote:
> I guess the question is: Which way is more portable? Is
> "(unsigned long)-1" liable to turn out as something other than
> ~0U?
>
> If your way of expressing it is more portable then we should
> make the change ... BOTH in pnp_bios.c and in parport_pc.c .
>
> Opinions?
unsigned long is 64-bits on 64-bit archs, and so (unsigned long)-1 will be
different than on intel...
I think that's ~0UL?
Maybe this is why I can't get pnp stuff to work on my alpha?
Cheers,
-- Bob
Bob McElrath (rsmcelrath@students.wisc.edu)
Univ. of Wisconsin at Madison, Department of Physics
[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]
next prev parent reply other threads:[~2001-10-11 14:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2001-10-11 22:41 ` bill davidsen
2001-10-12 1:45 ` Thomas Hood
2001-10-11 18:35 J.D. 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=20011011095202.H1177@draal.physics.wisc.edu \
--to=mcelrath@draal.physics.wisc.edu \
--cc=jamagallon@able.es \
--cc=jdthood@mail.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
all inboxes | Powered by JetHome®