From: Alexey Dobriyan Date: Wed, 27 Jul 2005 18:43:27 +0000 (-0700) Subject: [PATCH] Really __nocast-annotate kmalloc_node() X-Git-Tag: firefly_0821_release~42584^2~170 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c10b873695c6a1de0d8ebab40b525575ca576683;p=firefly-linux-kernel-4.4.55.git [PATCH] Really __nocast-annotate kmalloc_node() One chunk was lost somewhere between my and Andrew's machine. Noticed by Victor Fusco. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/slab.h b/include/linux/slab.h index 4c8e552471b0..80b2dfde2e80 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h @@ -111,7 +111,7 @@ static inline void *kmem_cache_alloc_node(kmem_cache_t *cachep, int flags, int n { return kmem_cache_alloc(cachep, flags); } -static inline void *kmalloc_node(size_t size, int flags, int node) +static inline void *kmalloc_node(size_t size, unsigned int __nocast flags, int node) { return kmalloc(size, flags); }