Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

slub: fix incorrect return type of get_any_partial()

Commit 497b66f2ecc97844493e6a147fd5a7e73f73f408 ('slub: return object pointer
from get_partial() / new_slab().') changed return type of some functions.
This updates missing part.

Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>

authored by

Joonsoo Kim and committed by
Pekka Enberg
de3ec035 dd775ae2

+1 -1
+1 -1
mm/slub.c
··· 1579 1579 /* 1580 1580 * Get a page from somewhere. Search in increasing NUMA distances. 1581 1581 */ 1582 - static struct page *get_any_partial(struct kmem_cache *s, gfp_t flags, 1582 + static void *get_any_partial(struct kmem_cache *s, gfp_t flags, 1583 1583 struct kmem_cache_cpu *c) 1584 1584 { 1585 1585 #ifdef CONFIG_NUMA