On 11/28/25 at 04:50pm, Alexander Potapenko wrote: > > @@ -30,7 +30,7 @@ static inline void kasan_enable(void) > > /* For architectures that can enable KASAN early, use compile-time check. > > */ > I think the behavior of kasan_enabled() is inconsistent with this comment now.
You are right, that line should be removed. Thanks for careful checking.
> > static __always_inline bool kasan_enabled(void)
> > {
> > - return IS_ENABLED(CONFIG_KASAN);
> > + return false;
> > }
>
