Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268064AbUIVWlx (ORCPT ); Wed, 22 Sep 2004 18:41:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268072AbUIVWlw (ORCPT ); Wed, 22 Sep 2004 18:41:52 -0400 Received: from pauli.thundrix.ch ([213.239.201.101]:45792 "EHLO pauli.thundrix.ch") by vger.kernel.org with ESMTP id S268064AbUIVWld (ORCPT ); Wed, 22 Sep 2004 18:41:33 -0400 Date: Thu, 23 Sep 2004 00:39:27 +0200 From: Tonnerre To: Jesper Juhl Cc: David Woodhouse , linux-mtd , linux-kernel Subject: Re: [PATCH] attempt to fix warnings in dilnetpc.c Message-ID: <20040922223927.GB6889@thundrix.ch> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="R3G7APHDIzY6R/pk" Content-Disposition: inline In-Reply-To: X-GPG-KeyID: 0x8BE1C38D X-GPG-Fingerprint: 1AB0 9AD6 D0C8 B9D5 C5C9 9C2A FF86 CBEE 8BE1 C38D X-GPG-KeyURL: http://users.thundrix.ch/~tonnerre/tonnerre.asc User-Agent: Mutt/1.5.6+20040803i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1517 Lines: 47 --R3G7APHDIzY6R/pk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.0= 00000000 +0200 > @@ -403,7 +403,7 @@ static int __init init_dnpc(void) > printk(KERN_NOTICE "DIL/Net %s flash: 0x%lx at 0x%lx\n",=20 > is_dnp ? "DNPC" : "ADNP", dnpc_map.size, dnpc_map.phys); > =20 > - dnpc_map.virt =3D (unsigned long)ioremap_nocache(dnpc_map.phys, dnpc_ma= p.size); > + dnpc_map.virt =3D (unsigned long *)ioremap_nocache(dnpc_map.phys, dnpc_= map.size); This should be void *. Tonnerre --R3G7APHDIzY6R/pk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.2 (GNU/Linux) iD8DBQFBUf8e/4bL7ovhw40RAufeAJ9UN9KO2mPBT6wiq3baVb4knMfwOQCZAa4G EPjgwDNXT+cQOPKAKUMQBE4= =mvqF -----END PGP SIGNATURE----- --R3G7APHDIzY6R/pk-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/