Skip to content

Commit ab15d9b

Browse files
Dan Carpentertorvalds
authored andcommitted
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>
1 parent 7960aed commit ab15d9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎mm/vmalloc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ static void __vunmap(const void *addr, int deallocate_pages)
14531453
return;
14541454

14551455
if (WARN(!PAGE_ALIGNED(addr), "Trying to vfree() bad address (%p)\n",
1456-
addr));
1456+
addr))
14571457
return;
14581458

14591459
area = remove_vm_area(addr);

0 commit comments

Comments
 (0)