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

From: Alexander Potapenko
Date: Thu Nov 16 2023 - 04:15:20 EST


On Wed, Nov 15, 2023 at 9:34 PM Ilya Leoshkevich <iii@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
Reviewed-by: Alexander Potapenko <glider@xxxxxxxxxx>