public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ax88796 (address space): cast to unsigned long, not long
@ 2007-07-26 16:36 Al Viro
  2007-07-26 16:48 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2007-07-26 16:36 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, jgarzik


Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 drivers/net/ax88796.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c
index 1d88236..e43e804 100644
--- a/drivers/net/ax88796.c
+++ b/drivers/net/ax88796.c
@@ -819,7 +819,7 @@ static int ax_probe(struct platform_device *pdev)
 	}
 
 	ei_status.mem = ioremap(res->start, size);
-	dev->base_addr = (long)ei_status.mem;
+	dev->base_addr = (unsigned long)ei_status.mem;
 
 	if (ei_status.mem == NULL) {
 		dev_err(&pdev->dev, "Cannot ioremap area (%08zx,%08zx)\n",
-- 
1.5.3.GIT


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-26 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-26 16:36 [PATCH] ax88796 (address space): cast to unsigned long, not long Al Viro
2007-07-26 16:48 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox