[PATCH] kasan: Add explicit preconditions to kasan_report()

Vincenzo Frascino vincenzo.frascino at arm.com
Thu Jan 21 06:34:01 EST 2021


Hi Andrey,

On 1/19/21 8:56 PM, Andrey Konovalov wrote:
>>      return (is_vmalloc_addr(addr) || virt_addr_valid(addr));
> Do we need is_vmalloc_addr()? As we don't yet have vmalloc support for HW_TAGS.

It is not necessary but it does not hurt, since we are going to add vmalloc
anyway at some point, I would keep it here.

-- 
Regards,
Vincenzo



More information about the linux-arm-kernel mailing list