Skip to content

Commit

Permalink
mm/vmalloc.c: unbreak __vunmap()
Browse files Browse the repository at this point in the history
There is an extra semi-colon so the function always returns.

Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Zhang Yanfei <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Dan Carpenter authored and torvalds committed Jul 9, 2013
1 parent 7960aed commit ab15d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ab15d9b

Please sign in to comment.