From: Hauke Mehrtens Date: Wed, 8 Mar 2023 20:31:17 +0000 (+0100) Subject: kernel: Set some options to default shown with CONFIG_KERNEL_UBSAN=y X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=85661be9df381bacd1f9d09d4045efa04e6ad3c4;p=openwrt%2Fstaging%2Frobimarko.git 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 --- 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