On Tue, Sep 15, 2020 at 11:16:14PM +0200, Andrey Konovalov wrote: > Some #ifdef CONFIG_KASAN checks are only relevant for software KASAN > modes (either related to shadow memory or compiler instrumentation). > Expand those into CONFIG_KASAN_GENERIC || CONFIG_KASAN_SW_TAGS. > > Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx> > Signed-off-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx> Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>