Commit a1c4b8e7 authored by Andrew Morton's avatar Andrew Morton Committed by Pekka Enberg

slqb: fix types

x86_64 allnoconfig:

mm/slqb.c: In function 'slab_alloc':
mm/slqb.c:1546: warning: passing argument 3 of 'alloc_debug_processing' makes pointer from integer without a cast
mm/slqb.c: In function 'slab_free':
mm/slqb.c:1764: warning: passing argument 3 of 'free_debug_processing' makes pointer from integer without a cast

Cc: Nick Piggin <npiggin@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
parent 64fe6e76
...@@ -915,13 +915,13 @@ static inline void setup_object_debug(struct kmem_cache *s, ...@@ -915,13 +915,13 @@ static inline void setup_object_debug(struct kmem_cache *s,
} }
static inline int alloc_debug_processing(struct kmem_cache *s, static inline int alloc_debug_processing(struct kmem_cache *s,
void *object, void *addr) void *object, unsigned long addr)
{ {
return 0; return 0;
} }
static inline int free_debug_processing(struct kmem_cache *s, static inline int free_debug_processing(struct kmem_cache *s,
void *object, void *addr) void *object, unsigned long addr)
{ {
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment