kcsan: Print if strict or non-strict during init
authorMarco Elver <elver@google.com>
Mon, 7 Jun 2021 12:56:52 +0000 (14:56 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 20 Jul 2021 20:49:44 +0000 (13:49 -0700)
commit9c827cd1fcdf54bb50f874f91af0d5de2aceb035
tree15b8bb6dc53b6b1a4af3deeccfd5b60fa12da2d6
parent49f72d5358dd3c0d28bcd2232c513000b15480f0
kcsan: Print if strict or non-strict during init

Show a brief message if KCSAN is strict or non-strict, and if non-strict
also say that CONFIG_KCSAN_STRICT=y can be used to see all data races.

This is to hint to users of KCSAN who blindly use the default config
that their configuration might miss data races of interest.

Signed-off-by: Marco Elver <elver@google.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/kcsan/core.c