]> git.baikalelectronics.ru Git - kernel.git/commit
kcsan: Introduce kcsan_value_change type
authorMarco Elver <elver@google.com>
Tue, 11 Feb 2020 16:04:21 +0000 (17:04 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 21 Mar 2020 08:44:03 +0000 (09:44 +0100)
commita7aa874b68b93633961f2e0b4925164c7521e684
treeb15d523664449bf30e59c034e4517eb5e399744d
parent5d879ed69a27808c646051fbb481b58a9a39a073
kcsan: Introduce kcsan_value_change type

Introduces kcsan_value_change type, which explicitly points out if we
either observed a value-change (TRUE), or we could not observe one but
cannot rule out a value-change happened (MAYBE). The MAYBE state can
either be reported or not, depending on configuration preferences.

A follow-up patch introduces the FALSE state, which should never be
reported.

No functional change intended.

Acked-by: John Hubbard <jhubbard@nvidia.com>
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>
kernel/kcsan/core.c
kernel/kcsan/kcsan.h
kernel/kcsan/report.c