CONFIG_KASAN_STACK config option is currently defined as an int, while it's logically a bool. This is a bit confusing and is worth fixing.
FWIW we could also have just 1 config instead of 2 as well (CONFIG_KASAN_STACK/CONFIG_KASAN_STACK_ENABLE).
For gcc we could do no prompt and default value y, and for clang --
prompt and default value n. I think it should do what we need.
I already sent one patch(kasan: remove redundant config option) to fix it.
Thank you for your suggestion.
"kasan: remove redundant config option" is now in linux-next.