diff --git a/include/linux/mm.h b/include/linux/mm.h index 48ca9cf12..14bb23986 100755 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -816,7 +816,7 @@ static inline int is_vmalloc_or_module_addr(const void *x) } #endif -extern void *kvmalloc_node(size_t size, gfp_t flags, int node) __attribute__((alloc_size(1))); +extern void *kvmalloc_node(size_t size, gfp_t flags, int node); static inline void *kvmalloc(size_t size, gfp_t flags) { return kvmalloc_node(size, flags, NUMA_NO_NODE);