From: Matthew Wilcox <willy@debian.org>
To: linux-ia64@vger.kernel.org
Subject: Re: megaraid warnings
Date: Tue, 17 Feb 2004 19:58:47 +0000 [thread overview]
Message-ID: <20040217195847.GC11824@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <16434.28509.327706.76307@napali.hpl.hp.com>
On Tue, Feb 17, 2004 at 11:45:33AM -0800, David Mosberger wrote:
> The 2.6 megaraid driver causes several ugly warnings along the lines of:
>
> drivers/scsi/megaraid.c:3500: warning: cast to pointer from integer of different size
>
> I think those may be harmless (I don't have hardware to test this) but
> it would still be better to fix the drivers so there are no warnings
> (most likely by casting u32 addresses that are guaranteed to be <4GB
> to "unsigned long" before converting them to a pointer).
>
> Can someone look into this?
This keeps coming up on linux-scsi; basically these are ioctls that
are called by some binary-only (and x86-binary-only at that) management
program. so if they want to ship an ia64 version of their management
program, they'll have to fix this; otherwise the addresses are guaranteed
to be in the lower 32 bits of the address space.
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
next prev parent reply other threads:[~2004-02-17 19:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-17 19:45 megaraid warnings David Mosberger
2004-02-17 19:58 ` Matthew Wilcox [this message]
2004-02-17 20:08 ` David Mosberger
2004-02-17 20:09 ` Matthew Wilcox
2004-02-17 20:18 ` David Mosberger
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=20040217195847.GC11824@parcelfarce.linux.theplanet.co.uk \
--to=willy@debian.org \
--cc=linux-ia64@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