kasan: give better names to shadow values
[platform/kernel/linux-starfive.git] / mm / kasan / quarantine.c
index 8ef098f..7558507 100644 (file)
@@ -163,7 +163,7 @@ static void qlink_free(struct qlist_node *qlink, struct kmem_cache *cache)
         * As the object now gets freed from the quarantine, assume that its
         * free track is no longer valid.
         */
-       *(u8 *)kasan_mem_to_shadow(object) = KASAN_KMALLOC_FREE;
+       *(u8 *)kasan_mem_to_shadow(object) = KASAN_SLAB_FREE;
 
        ___cache_free(cache, object, _THIS_IP_);