aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hmehrtens@maxlinear.com>2023-03-08 21:31:17 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-03-19 18:44:46 +0100
commit85661be9df381bacd1f9d09d4045efa04e6ad3c4 (patch)
tree916284826e07b78f3484b0af5746de61104a2019
parent2d5b761838951a5a4a491579114fe39b0daf966e (diff)
downloadupstream-85661be9df381bacd1f9d09d4045efa04e6ad3c4.tar.gz
upstream-85661be9df381bacd1f9d09d4045efa04e6ad3c4.tar.bz2
upstream-85661be9df381bacd1f9d09d4045efa04e6ad3c4.zip
kernel: Set some options to default shown with CONFIG_KERNEL_UBSAN=y
This sets some kernel configuration options to their default values. I saw these as warnings when I set CONFIG_KERNEL_UBSAN=y is set in the OpenWrt configuration on x86/64. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
-rw-r--r--target/linux/generic/config-5.155
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15
index 09d9ce9356..d6c44e801e 100644
--- a/target/linux/generic/config-5.15
+++ b/target/linux/generic/config-5.15
@@ -6765,7 +6765,12 @@ CONFIG_UBIFS_FS_ZLIB=y
CONFIG_UBIFS_FS_ZSTD=y
# CONFIG_UBSAN is not set
CONFIG_UBSAN_ALIGNMENT=y
+CONFIG_UBSAN_BOOL=y
+# CONFIG_UBSAN_DIV_ZERO is not set
+CONFIG_UBSAN_ENUM=y
# CONFIG_UBSAN_MISC is not set
+CONFIG_UBSAN_SHIFT=y
+# CONFIG_UBSAN_UNREACHABLE is not set
# CONFIG_UCB1400_CORE is not set
# CONFIG_UCSI is not set
# CONFIG_UDF_FS is not set