diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2394,7 +2394,7 @@ size_t ksize(const void *object) | |||
2394 | struct page *page; | 2394 | struct page *page; |
2395 | struct kmem_cache *s; | 2395 | struct kmem_cache *s; |
2396 | 2396 | ||
2397 | if (object == ZERO_SIZE_PTR) | 2397 | if (ZERO_OR_NULL_PTR(object)) |
2398 | return 0; | 2398 | return 0; |
2399 | 2399 | ||
2400 | page = get_object_page(object); | 2400 | page = get_object_page(object); |