kasan: fix typo in kasan_poison_new_object documentation

Fix presumed copy-paste typo of kasan_poison_new_object documentation
referring to kasan_unpoison_new_object.

No functional changes.

Link: https://lkml.kernel.org/r/20241220181205.9663-1-dominik.karol.piatkowski@protonmail.com
Fixes: 1ce9a0523938 ("kasan: rename and document kasan_(un)poison_object_data")
ta")
Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
Dominik Karol Piątkowski 2024-12-20 18:12:12 +00:00 committed by Andrew Morton
parent 5618ee438d
commit b0ce6e7b72

View File

@ -153,7 +153,7 @@ static __always_inline void kasan_unpoison_new_object(struct kmem_cache *cache,
void __kasan_poison_new_object(struct kmem_cache *cache, void *object); void __kasan_poison_new_object(struct kmem_cache *cache, void *object);
/** /**
* kasan_unpoison_new_object - Repoison a new slab object. * kasan_poison_new_object - Repoison a new slab object.
* @cache: Cache the object belong to. * @cache: Cache the object belong to.
* @object: Pointer to the object. * @object: Pointer to the object.
* *