]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm/vmalloc.c: unbreak __vunmap()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 19 Jun 2013 00:06:56 +0000 (10:06 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:26:51 +0000 (17:26 +1000)
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>
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);