aboutsummaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/util.c')
-rw-r--r--mm/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/util.c b/mm/util.c
index 18396ea63ee6..f2f21b775516 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -76,7 +76,7 @@ void *krealloc(const void *p, size_t new_size, gfp_t flags)
76 76
77 if (unlikely(!new_size)) { 77 if (unlikely(!new_size)) {
78 kfree(p); 78 kfree(p);
79 return NULL; 79 return ZERO_SIZE_PTR;
80 } 80 }
81 81
82 ks = ksize(p); 82 ks = ksize(p);