diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-07-09 00:59:53 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 19:33:20 +0200 |
commit | ab15d9b4cbc2b6497023f554a152c2573ca53671 (patch) | |
tree | c60243d72d115301e551545cbb04cd118a80d53f /mm | |
parent | mm: remove duplicated call of get_pfn_range_for_nid (diff) | |
download | linux-ab15d9b4cbc2b6497023f554a152c2573ca53671.tar.xz 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>
Diffstat (limited to 'mm')
-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 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); |