From: Alexey Dobriyan Date: Thu, 5 Apr 2018 23:20:18 +0000 (-0700) Subject: slab: fixup calculate_alignment() argument type X-Git-Tag: v4.19~1277^2~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c86305743bdf3928ed7fbc685724c04bbd5331aa;p=platform%2Fkernel%2Flinux-rpi3.git slab: fixup calculate_alignment() argument type Link: http://lkml.kernel.org/r/20180305200730.15812-1-adobriyan@gmail.com Signed-off-by: Alexey Dobriyan Acked-by: Christoph Lameter Cc: Pekka Enberg Cc: David Rientjes Cc: Joonsoo Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/slab_common.c b/mm/slab_common.c index a1237d3..7626a64 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -280,7 +280,7 @@ static inline void memcg_unlink_cache(struct kmem_cache *s) * Figure out what the alignment of the objects will be given a set of * flags, a user specified alignment and the size of the objects. */ -static unsigned long calculate_alignment(unsigned long flags, +static unsigned long calculate_alignment(slab_flags_t flags, unsigned long align, unsigned long size) { /*