diff options
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r-- | mm/vmalloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index e583f770dfee..f87577042a86 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c | |||
@@ -1658,6 +1658,8 @@ void *__vmalloc_node_range(unsigned long size, unsigned long align, | |||
1658 | goto fail; | 1658 | goto fail; |
1659 | 1659 | ||
1660 | addr = __vmalloc_area_node(area, gfp_mask, prot, node, caller); | 1660 | addr = __vmalloc_area_node(area, gfp_mask, prot, node, caller); |
1661 | if (!addr) | ||
1662 | return NULL; | ||
1661 | 1663 | ||
1662 | /* | 1664 | /* |
1663 | * In this function, newly allocated vm_struct is not added | 1665 | * In this function, newly allocated vm_struct is not added |