]> git.baikalelectronics.ru Git - kernel.git/commit
kcsan: Move interfaces that affects checks to kcsan-checks.h
authorMarco Elver <elver@google.com>
Tue, 11 Feb 2020 16:04:19 +0000 (17:04 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 21 Mar 2020 08:43:47 +0000 (09:43 +0100)
commitb4c681f0e5f2c39c5d3c5af2c76afa14bb00041b
tree5de365488a803cb53a42fffa0a9cfb43c5e7acbb
parent6728248435e8380ac138d1efa18e7261b984d507
kcsan: Move interfaces that affects checks to kcsan-checks.h

This moves functions that affect state changing the behaviour of
kcsan_check_access() to kcsan-checks.h. Since these are likely used with
kcsan_check_access() it makes more sense to have them in kcsan-checks.h,
to avoid including all of 'include/linux/kcsan.h'.

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>
include/linux/kcsan-checks.h
include/linux/kcsan.h