From: William Lee Irwin III <wli@holomorphy.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, davem@davemloft.net
Subject: Re: 2.6.12-rc5-mm2
Date: Wed, 1 Jun 2005 09:48:17 -0700 [thread overview]
Message-ID: <20050601164817.GO20782@holomorphy.com> (raw)
In-Reply-To: <20050601022824.33c8206e.akpm@osdl.org>
On Wed, Jun 01, 2005 at 02:28:24AM -0700, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc5/2.6.12-rc5-mm2/
> - Dropped bk-acpi.patch. Too old, too much breakage.
> - A few more subsystem trees have moved to using git
> - There are a large number of patches here which fix patches which people
> have already sent. A very large number. Are we getting a bit careless?
This small patch silences some iomem-related warnings in sunzilog.c
by declaring mapped_addr as void __iomem * and inserting a cast in
one case.
Index: mm2-2.6.12-rc5/drivers/serial/sunzilog.c
===================================================================
--- mm2-2.6.12-rc5.orig/drivers/serial/sunzilog.c 2005-06-01 08:11:54.863223871 -0700
+++ mm2-2.6.12-rc5/drivers/serial/sunzilog.c 2005-06-01 09:40:25.196930439 -0700
@@ -1071,7 +1071,7 @@
*/
static struct zilog_layout __iomem * __init get_zs_sun4u(int chip, int zsnode)
{
- unsigned long mapped_addr;
+ void __iomem *mapped_addr;
unsigned int sun4u_ino;
struct sbus_bus *sbus = NULL;
struct sbus_dev *sdev = NULL;
@@ -1111,9 +1111,9 @@
apply_fhc_ranges(central_bus->child,
&zsregs[0], 1);
apply_central_ranges(central_bus, &zsregs[0], 1);
- mapped_addr =
- (((u64)zsregs[0].which_io)<<32UL) |
- ((u64)zsregs[0].phys_addr);
+ mapped_addr = (void __iomem *)
+ ((((u64)zsregs[0].which_io)<<32UL) |
+ ((u64)zsregs[0].phys_addr));
}
if (zilog_irq == -1) {
next prev parent reply other threads:[~2005-06-01 16:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-01 9:28 2.6.12-rc5-mm2 Andrew Morton
2005-06-01 9:54 ` 2.6.12-rc5-mm2 Michal Schmidt
2005-06-01 12:22 ` 2.6.12-rc5-mm2 Stefano Rivoir
2005-06-01 21:53 ` 2.6.12-rc5-mm2 Dave Airlie
2005-06-01 14:02 ` 2.6.12-rc5-mm2 Pavel Machek
2005-06-01 15:04 ` 2.6.12-rc5-mm2 Matthias Urlichs
2005-06-03 10:12 ` 2.6.12-rc5-mm2 Pavel Machek
2005-06-05 19:20 ` 2.6.12-rc5-mm2 Matthias Urlichs
2005-06-01 16:48 ` William Lee Irwin III [this message]
2005-06-01 23:47 ` 2.6.12-rc5-mm2 Matthew Dobson
2005-06-02 12:15 ` 2.6.12-rc5-mm2: "bic unavailable using TCP reno" messages Adrian Bunk
2005-06-02 13:58 ` Baruch Even
2005-06-02 17:38 ` Stephen Hemminger
2005-06-02 20:38 ` Adrian Bunk
2005-06-03 21:37 ` Stephen Hemminger
2005-06-03 22:32 ` Baruch Even
2005-06-02 20:07 ` [-mm patch] fix recursive IPW2200 dependencies Adrian Bunk
2005-06-02 20:19 ` Alejandro Bonilla
2005-06-02 20:54 ` 2.6.12-rc5-mm2 Adrian Bunk
2005-06-03 21:19 ` 2.6.12-rc5-mm2 Yani Ioannou
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=20050601164817.GO20782@holomorphy.com \
--to=wli@holomorphy.com \
--cc=akpm@osdl.org \
--cc=davem@davemloft.net \
--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