From 85661be9df381bacd1f9d09d4045efa04e6ad3c4 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 8 Mar 2023 21:31:17 +0100 Subject: [PATCH] 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 --- target/linux/generic/config-5.15 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15 index 09d9ce9356d4..d6c44e801e12 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 -- 2.30.2