kcsan: Clean up the main KCSAN Kconfig option
authorMarco Elver <elver@google.com>
Tue, 4 Feb 2020 17:21:12 +0000 (18:21 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 21 Mar 2020 08:42:26 +0000 (09:42 +0100)
commit8cfbb04fae75260eae07ab8c74c1dcd44294d739
tree2b6da9cd0591916e390cc4af254c2c326279a57a
parenta249a73231e2e30944b948c5351025e5ff65f6d1
kcsan: Clean up the main KCSAN Kconfig option

This patch cleans up the rules of the 'KCSAN' Kconfig option by:

  1. implicitly selecting 'STACKTRACE' instead of depending on it;
  2. depending on DEBUG_KERNEL, to avoid accidentally turning KCSAN on if
     the kernel is not meant to be a debug kernel;
  3. updating the short and long summaries.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
lib/Kconfig.kcsan