Re: [PATCH 11/32] kmsan: Export panic_on_kmsan

Alexander Potapenko
2023-11-16T09:15:53Z

On Wed, Nov 15, 2023 at 9:34 PM Ilya Leoshkevich <iii@linux.ibm.com> wrote:
>
> When building the kmsan test as a module, modpost fails with the
> following error message:
>
> ERROR: modpost: "panic_on_kmsan" [mm/kmsan/kmsan_test.ko] undefined!
>
> Export panic_on_kmsan in order to improve the KMSAN usability for
> modules.
>
> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Alexander Potapenko <glider@google.com>