[PATCH v2 12/12] arm64: kasan: export MTE symbols for KASAN tests

Christoph Hellwig hch at infradead.org
Mon Feb 8 12:42:47 EST 2021

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.

More information about the linux-arm-kernel mailing list