History

mm, kasan: fix compilation for CONFIG_SLAB

Add the missing argument to set_track().

Alexander Potapenko committed 10 years ago

Commit 0b355ea1 parent b39c3cf1 file · +1 −1Browse files

Unified · Split

mm/kasan/kasan.c+1−1
@@ -498,7 +498,7 @@ void kasan_slab_free(struct kmem_cache *cache, void *object) · 497 unmodified lines
498 struct kasan_alloc_meta *alloc_info =498 struct kasan_alloc_meta *alloc_info =
499 get_alloc_info(cache, object);499 get_alloc_info(cache, object);
500 alloc_info->state = KASAN_STATE_FREE;500 alloc_info->state = KASAN_STATE_FREE;
501 set_track(&free_info->track);501 set_track(&free_info->track, GFP_NOWAIT);
502 }502 }
503#endif503#endif
504 504