Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760670AbYJMXTH (ORCPT ); Mon, 13 Oct 2008 19:19:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754602AbYJMXSw (ORCPT ); Mon, 13 Oct 2008 19:18:52 -0400 Received: from trinity.fluff.org ([89.145.97.151]:53817 "EHLO trinity.fluff.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753986AbYJMXSv (ORCPT ); Mon, 13 Oct 2008 19:18:51 -0400 Date: Tue, 14 Oct 2008 00:18:38 +0100 From: Ben Dooks To: David Miller Cc: cooloney@kernel.org, ben@simtec.co.uk, s.hauer@pengutronix.de, jeff@garzik.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jherrero@hvsistemas.es Subject: Re: [PATCH 1/1] netdev: DM9000: Added typecasting to supress some warnings on Blackfin Message-ID: <20081013231837.GL6646@trinity.fluff.org> References: <1223889009-31336-1-git-send-email-cooloney@kernel.org> <20081013.030150.96524866.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081013.030150.96524866.davem@davemloft.net> X-Disclaimer: These are my views alone. X-URL: http://www.fluff.org/ User-Agent: Mutt/1.5.9i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ben@trinity.fluff.org X-SA-Exim-Scanned: No (on trinity.fluff.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1031 Lines: 30 On Mon, Oct 13, 2008 at 03:01:50AM -0700, David Miller wrote: > From: Bryan Wu > Date: Mon, 13 Oct 2008 17:10:09 +0800 > > > From: Javier Herrero > > > > Signed-off-by: Javier Herrero > > Signed-off-by: Bryan Wu > > This is not only inelegant, it'll likely break things on > 64-bit MIPS or any other case where the upper 32-bit matter. > > I'd rather see Blackfin fix it's I/O accessor prototypes > to take a proper __iomem pointer. How much would it hurt to provide blackfin wide readsb and friends with the correct prototype and remove the nasty blackfin hack in the dm9000.c driver for good? -- Ben Q: What's a light-year? A: One-third less calories than a regular year. -- 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/