summaryrefslogtreecommitdiffstats
path: root/drivers/net/ax88796.c
diff options
context:
space:
mode:
authorAl Viro2007-07-26 18:36:29 +0200
committerLinus Torvalds2007-07-26 20:11:57 +0200
commitc7b17cb13eaad6adf2f169840ccb193d4376e4b1 (patch)
treec0e9dd25ab3f4d2fc4106c9f4ed93877f6bf043a /drivers/net/ax88796.c
parentraw1394 __user annotation (diff)
downloadkernel-qcow2-linux-c7b17cb13eaad6adf2f169840ccb193d4376e4b1.tar.gz
kernel-qcow2-linux-c7b17cb13eaad6adf2f169840ccb193d4376e4b1.tar.xz
kernel-qcow2-linux-c7b17cb13eaad6adf2f169840ccb193d4376e4b1.zip
ax88796 (address space): cast to unsigned long, not long
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/ax88796.c')
-rw-r--r--drivers/net/ax88796.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c
index 1d882360b34d..e43e8047b90e 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",