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>
This commit is contained in:
parent
7960aedde8
commit
ab15d9b4cb
|
@ -1453,7 +1453,7 @@ static void __vunmap(const void *addr, int deallocate_pages)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (WARN(!PAGE_ALIGNED(addr), "Trying to vfree() bad address (%p)\n",
|
if (WARN(!PAGE_ALIGNED(addr), "Trying to vfree() bad address (%p)\n",
|
||||||
addr));
|
addr))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
area = remove_vm_area(addr);
|
area = remove_vm_area(addr);
|
||||||
|
|
Loading…
Reference in a new issue