Skip to contentSkip to conversation

Really __nocast-annotate kmalloc_node().

PATCH New Alexey Dobriyan 1 participant 1 message Jul 15, 2005 Slab allocator

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Really __nocast-annotate kmalloc_node().

One chunk was lost somewhere between my and Andrew's machine.

Noticed by Victor Fusco.

---

 include/linux/slab.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
include/linux/slab.h +1 -1
@@ -111,7 +111,7 @@ static inline void *kmem_cache_alloc_nod
 {
 	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);
 }