Re: [PATCH] kasan: remove redundant config option

2021-01-07 Thread Walter Wu
On Thu, 2021-01-07 at 14:00 -0700, Nathan Chancellor wrote: > On Thu, Jan 07, 2021 at 02:21:52PM +0800, Walter Wu wrote: > > CONFIG_KASAN_STACK and CONFIG_KASAN_STACK_ENABLE both enable KASAN > > stack instrumentation, but we should only need one config option, > > so that we remove

Re: [PATCH] kasan: remove redundant config option

2021-01-07 Thread Nathan Chancellor
On Thu, Jan 07, 2021 at 02:21:52PM +0800, Walter Wu wrote: > CONFIG_KASAN_STACK and CONFIG_KASAN_STACK_ENABLE both enable KASAN > stack instrumentation, but we should only need one config option, > so that we remove CONFIG_KASAN_STACK_ENABLE. see [1]. > > For gcc we could do no prompt and default

[PATCH] kasan: remove redundant config option

2021-01-06 Thread Walter Wu
CONFIG_KASAN_STACK and CONFIG_KASAN_STACK_ENABLE both enable KASAN stack instrumentation, but we should only need one config option, so that we remove CONFIG_KASAN_STACK_ENABLE. see [1]. For gcc we could do no prompt and default value y, and for clang prompt and default value n. [1]: