diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 67535f87846c38694eb576f8c19fc051bc99acb4..745fa9567475cddbca9b905df35984ad972e33bc 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -1635,7 +1635,7 @@ void *__vmalloc_node_range(unsigned long size, unsigned long align,
 
 	addr = __vmalloc_area_node(area, gfp_mask, prot, node);
 	if (!addr)
-		goto fail;
+		return NULL;
 
 	/*
 	 * In this function, newly allocated vm_struct has VM_UNINITIALIZED