Re: [PATCH v2 10/33] kmsan: Expose kmsan_get_metadata()

From: Alexander Potapenko
Date: Mon Dec 11 2023 - 05:08:18 EST


> +static inline void *kmsan_get_metadata(void *addr, bool is_origin)
> +{
> + return NULL;
> +}
> +
> #endif

We shouldn't need this part, as kmsan_get_metadata() should never be
called in non-KMSAN builds.