projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7665a08
)
[PATCH] lne390 bogus casts
author
viro@ZenIV.linux.org.uk
<viro@ZenIV.linux.org.uk>
Fri, 9 Sep 2005 16:22:14 +0000
(17:22 +0100)
committer
Jeff Garzik
<jgarzik@pobox.com>
Wed, 14 Sep 2005 12:37:31 +0000
(08:37 -0400)
We already have the iomem pointer we need...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/lne390.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/lne390.c
b/drivers/net/lne390.c
index 27f0d8ac4c40d99a869e2cd297007dbeeb487d0e..309d254842cf2f85ab2d0ea7653b98d4132b7248 100644
(file)
--- a/
drivers/net/lne390.c
+++ b/
drivers/net/lne390.c
@@
-298,7
+298,7
@@
static int __init lne390_probe1(struct net_device *dev, int ioaddr)
return 0;
unmap:
if (ei_status.reg0)
- iounmap(
(void *)dev->mem_start
);
+ iounmap(
ei_status.mem
);
cleanup:
free_irq(dev->irq, dev);
return ret;