ANDROID: GKI: KASAN: disable INLINE

Replacing with PANIC_ON_WARN to align with the standard KASAN
template.

Disabling INLINE as a workaround for a boot issue on cuttlefish.

This is the same as the change made on branch android13-5.10
(aosp/2399656).

Bug: 218315905
Change-Id: I2137932a95444b94c7e9768a7f7e2879a08dfdd0
Signed-off-by: Liz Prucka <lizprucka@google.com>
This commit is contained in:
Liz Prucka
2023-01-26 10:26:03 -06:00
committed by Treehugger Robot
parent ae0a1eb830
commit 6d2ec81c11

View File

@@ -6,7 +6,7 @@ LTO=none
function update_kasan_config() {
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
-e CONFIG_KASAN \
-e CONFIG_KASAN_INLINE \
-e CONFIG_KASAN_PANIC_ON_WARN \
-e CONFIG_KCOV \
-e CONFIG_PANIC_ON_WARN_DEFAULT_ENABLE \
-d CONFIG_RANDOMIZE_BASE \