mm/vmalloc.c: unbreak __vunmap()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 8 Jul 2013 22:59:53 +0000 (15:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jul 2013 17:33:20 +0000 (10:33 -0700)
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>
mm/vmalloc.c

index 91a10472a39a833b29ae0be1faeb6c30c72c0160..96b77a98254568f040cab4c217ebdfc009535972 100644 (file)
@@ -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);