Re: [PATCH v6 06/18] x86/kasan: Add arch specific kasan functions
From: Maciej Wieczór-Retman
Date: Mon Nov 17 2025 - 13:42:25 EST
On 2025-11-11 at 10:31:13 +0100, Alexander Potapenko wrote:
>> +#ifdef CONFIG_64BIT
>> +static inline void *__tag_set(const void *__addr, u8 tag)
>> +{
>> + u64 addr = (u64)__addr;
>> +
>> + addr &= ~__tag_shifted(KASAN_TAG_MASK);
>
>KASAN_TAG_MASK is only defined in Patch 07, does this patch compile?
Seems I forgot to remove it from patch 7. It's originally defined
in the mmzone.h file and looked cleaner there according to Andrey.
Thanks for noticing it's still in patch 7, I'll get rid of it.