projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa1b4f9
)
[ARM] Fix ioremap.c vfree type warning
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Fri, 20 Jan 2006 20:52:50 +0000
(20:52 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 20 Jan 2006 20:52:50 +0000
(20:52 +0000)
arch/arm/mm/ioremap.c:145: warning: passing argument 1 of 'vfree' makes pointer from integer without a cast
resulted from commit id
9d4ae7276ae26c5bfba6207cf05340af1931d8d4
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/ioremap.c
patch
|
blob
|
history
diff --git
a/arch/arm/mm/ioremap.c
b/arch/arm/mm/ioremap.c
index de3ce1eec2ece4d222a2293bfa325fb585104433..da9b35974118d34d2b6fac17bb246306a6e19228 100644
(file)
--- a/
arch/arm/mm/ioremap.c
+++ b/
arch/arm/mm/ioremap.c
@@
-142,7
+142,7
@@
__ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size,
return NULL;
addr = (unsigned long)area->addr;
if (remap_area_pages(addr, pfn, size, flags)) {
- vfree(addr);
+ vfree(
(void *)
addr);
return NULL;
}
return (void __iomem *) (offset + (char *)addr);