mm, vmalloc: unbreak __vunmap()
Subsystems (3)
PATCH 1/1 mm, vmalloc: unbreak __vunmap()
There is an extra semi-colon so the function always returns.
Signed-off-by Dan Carpenter <[email protected]>
mm/vmalloc.c +1 -1
@@ -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);
Quoted 1 line · Dan Carpenter
There is an extra semi-colon so the function always returns.
Acked-by Zhang Yanfei <[email protected]>
This is imported by using the macro PAGE_ALIGNED.
Quoted 21 lines
Signed-off-by Dan Carpenter <[email protected]>mm/vmalloc.c +1
-2@@ -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); --To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/