aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2021-11-03 20:00:26 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2021-11-07 17:26:47 +0200
commitec68c75c629eed149ed4416d5300328deb53a417 (patch)
treece54d36593d872ca7d41a22013462c26c5bca8c0 /target/linux
parentf2f42a54e8defb110a3e8b2aab833d67f27e2fe3 (diff)
downloadupstream-ec68c75c629eed149ed4416d5300328deb53a417.tar.gz
upstream-ec68c75c629eed149ed4416d5300328deb53a417.tar.bz2
upstream-ec68c75c629eed149ed4416d5300328deb53a417.zip
kernel: add missing KASAN config symbols
Enabling KERNEL_KASAN exposes several missing symbols. As KASAN_SW_TAGS is only implemented for arm64 CPUs and requires clang, it doesn't make sense to make this a build option so just default to KASAN_GENERIC and disable KASAN_SW_TAGS. While at it, disable TEST_KASAN_MODULE in the generic 5.10 config. Fixes build failures with KERNEL_KASAN enabled. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/config-5.101
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10
index 7b952e8ca8..403712d0e9 100644
--- a/target/linux/generic/config-5.10
+++ b/target/linux/generic/config-5.10
@@ -6064,6 +6064,7 @@ CONFIG_TCP_CONG_CUBIC=y
# CONFIG_TEST_HASH is not set
# CONFIG_TEST_HEXDUMP is not set
# CONFIG_TEST_IDA is not set
+# CONFIG_TEST_KASAN_MODULE is not set
# CONFIG_TEST_KMOD is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_TEST_LIST_SORT is not set