mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
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;
|
||||
|
||||
if (WARN(!PAGE_ALIGNED(addr), "Trying to vfree() bad address (%p)\n",
|
||||
addr));
|
||||
addr))
|
||||
return;
|
||||
|
||||
area = remove_vm_area(addr);
|
||||
|
Loading…
Reference in New Issue
Block a user