From: Russell King <rmk+lkml@arm.linux.org.uk>
To: John Bowler <jbowler@acm.org>
Cc: "'Deepak Saxena'" <dsaxena@plexity.net>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.arm.linux.org.uk, trivial@rustcorp.com.au
Subject: Re: [PATCH] 2.6.14 drivers/mtd/maps/ixp4xx.c: remove compiler warning from ioremap assignment
Date: Fri, 28 Oct 2005 08:55:08 +0100 [thread overview]
Message-ID: <20051028075508.GE5044@flint.arm.linux.org.uk> (raw)
In-Reply-To: <000f01c5db86$ca148450$1001a8c0@kalmiopsis>
On Thu, Oct 27, 2005 at 11:13:59PM -0700, John Bowler wrote:
> Trivial fix for a compiler warning: info->map.map_priv_1 is
> (unsigned long), ioremap returns a pointer. (Probably the
> result of improved compiler warnings in >2.6.12).
This is wrong. You should be using map.virt (which has the correct
type) and not map.map_priv_1.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
prev parent reply other threads:[~2005-10-28 7:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-28 6:13 John Bowler
2005-10-28 7:55 ` Russell King [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=20051028075508.GE5044@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=dsaxena@plexity.net \
--cc=jbowler@acm.org \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/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
Powered by JetHome