aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/vmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index b7e314b1009f..8b5e4370540b 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -732,7 +732,7 @@ static struct vmap_block *new_vmap_block(gfp_t gfp_mask)
732 node, gfp_mask); 732 node, gfp_mask);
733 if (unlikely(IS_ERR(va))) { 733 if (unlikely(IS_ERR(va))) {
734 kfree(vb); 734 kfree(vb);
735 return ERR_PTR(PTR_ERR(va)); 735 return ERR_CAST(va);
736 } 736 }
737 737
738 err = radix_tree_preload(gfp_mask); 738 err = radix_tree_preload(gfp_mask);