From: Tonnerre <tonnerre@thundrix.ch>
To: Jesper Juhl <juhl-lkml@dif.dk>
Cc: linux-mtd <linux-mtd@lists.infradead.org>,
David Woodhouse <dwmw2@redhat.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] attempt to fix warnings in dilnetpc.c
Date: Thu, 23 Sep 2004 00:39:27 +0200 [thread overview]
Message-ID: <20040922223927.GB6889@thundrix.ch> (raw)
In-Reply-To: <Pine.LNX.4.61.0409202320270.2729@dragon.hygekrogen.localhost>
[-- Attachment #1: Type: text/plain, Size: 774 bytes --]
Salut,
On Mon, Sep 20, 2004 at 11:26:38PM +0200, Jesper Juhl wrote:
> diff -up linux-2.6.9-rc2-bk5-orig/drivers/mtd/maps/dilnetpc.c linux-2.6.9-rc2-bk5/drivers/mtd/maps/dilnetpc.c
> --- linux-2.6.9-rc2-bk5-orig/drivers/mtd/maps/dilnetpc.c 2004-08-14 07:36:32.000000000 +0200
> +++ linux-2.6.9-rc2-bk5/drivers/mtd/maps/dilnetpc.c 2004-09-20 23:19:34.000000000 +0200
> @@ -403,7 +403,7 @@ static int __init init_dnpc(void)
> printk(KERN_NOTICE "DIL/Net %s flash: 0x%lx at 0x%lx\n",
> is_dnp ? "DNPC" : "ADNP", dnpc_map.size, dnpc_map.phys);
>
> - dnpc_map.virt = (unsigned long)ioremap_nocache(dnpc_map.phys, dnpc_map.size);
> + dnpc_map.virt = (unsigned long *)ioremap_nocache(dnpc_map.phys, dnpc_map.size);
This should be void *.
Tonnerre
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2004-09-22 22:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-20 21:26 [PATCH] attempt to fix warnings in dilnetpc.c Jesper Juhl
2004-09-22 22:39 ` Tonnerre [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=20040922223927.GB6889@thundrix.ch \
--to=tonnerre@thundrix.ch \
--cc=dwmw2@redhat.com \
--cc=juhl-lkml@dif.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.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