Re: [PATCH v2 12/12] arm64: kasan: export MTE symbols for KASAN tests
From: Christoph Hellwig
Date: Mon Feb 08 2021 - 14:13:36 EST
On Fri, Feb 05, 2021 at 04:39:13PM +0100, Andrey Konovalov wrote:
> Export mte_enable_kernel_sync() and mte_set_report_once() to fix:
>
> ERROR: modpost: "mte_enable_kernel_sync" [lib/test_kasan.ko] undefined!
> ERROR: modpost: "mte_set_report_once" [lib/test_kasan.ko] undefined!
Please put this under an ifdef for the testing option that pull the
symbols in.