|
@@ -56,7 +56,7 @@ void kasan_poison_object_data(struct kmem_cache *cache, void *object);
|
|
|
void kasan_init_slab_obj(struct kmem_cache *cache, const void *object);
|
|
|
|
|
|
void kasan_kmalloc_large(const void *ptr, size_t size, gfp_t flags);
|
|
|
-void kasan_kfree_large(const void *ptr);
|
|
|
+void kasan_kfree_large(void *ptr);
|
|
|
void kasan_poison_kfree(void *ptr);
|
|
|
void kasan_kmalloc(struct kmem_cache *s, const void *object, size_t size,
|
|
|
gfp_t flags);
|
|
@@ -108,7 +108,7 @@ static inline void kasan_init_slab_obj(struct kmem_cache *cache,
|
|
|
const void *object) {}
|
|
|
|
|
|
static inline void kasan_kmalloc_large(void *ptr, size_t size, gfp_t flags) {}
|
|
|
-static inline void kasan_kfree_large(const void *ptr) {}
|
|
|
+static inline void kasan_kfree_large(void *ptr) {}
|
|
|
static inline void kasan_poison_kfree(void *ptr) {}
|
|
|
static inline void kasan_kmalloc(struct kmem_cache *s, const void *object,
|
|
|
size_t size, gfp_t flags) {}
|