diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-07-08 22:59:53 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 17:33:20 (GMT) |
commit | ab15d9b4cbc2b6497023f554a152c2573ca53671 (patch) | |
tree | c60243d72d115301e551545cbb04cd118a80d53f /mm/vmalloc.c | |
parent | 7960aedde8cfa72e4caf488806ea7ea7d2fa8dba (diff) | |
download | linux-ab15d9b4cbc2b6497023f554a152c2573ca53671.tar.xz |
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>
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r-- | mm/vmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 91a1047..96b77a9 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); |