summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-07-08 15:59:53 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 10:33:20 -0700
commitab15d9b4cbc2b6497023f554a152c2573ca53671 (patch)
treec60243d72d115301e551545cbb04cd118a80d53f
parent7960aedde8cfa72e4caf488806ea7ea7d2fa8dba (diff)
downloadlinux-ab15d9b4cbc2b6497023f554a152c2573ca53671.tar.gz
linux-ab15d9b4cbc2b6497023f554a152c2573ca53671.tar.bz2
linux-ab15d9b4cbc2b6497023f554a152c2573ca53671.zip
mm/vmalloc.c: unbreak __vunmap()
There is an extra semi-colon so the function always returns. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/vmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 91a10472a39a..96b77a982545 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -1453,7 +1453,7 @@ static void __vunmap(const void *addr, int deallocate_pages)
return;
if (WARN(!PAGE_ALIGNED(addr), "Trying to vfree() bad address (%p)\n",
- addr));
+ addr))
return;
area = remove_vm_area(addr);