diff options
author | Marco Elver <elver@google.com> | 2020-03-18 18:38:44 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-04-14 02:18:10 +0200 |
commit | 135c0872d86948046d11d7083e36c930cc43ac93 (patch) | |
tree | ef11bf75b658ae7c892114326a951c8a7b3bfbe7 /kernel/kcsan/kcsan.h | |
parent | kcsan: Update API documentation in kcsan-checks.h (diff) | |
download | linux-135c0872d86948046d11d7083e36c930cc43ac93.tar.xz linux-135c0872d86948046d11d7083e36c930cc43ac93.zip |
kcsan: Introduce report access_info and other_info
Improve readability by introducing access_info and other_info structs,
and in preparation of the following commit in this series replaces the
single instance of other_info with an array of size 1.
No functional change intended.
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/kcsan/kcsan.h')
-rw-r--r-- | kernel/kcsan/kcsan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kcsan/kcsan.h b/kernel/kcsan/kcsan.h index e282f8b5749e..6630dfe32f31 100644 --- a/kernel/kcsan/kcsan.h +++ b/kernel/kcsan/kcsan.h @@ -135,7 +135,7 @@ enum kcsan_report_type { * Print a race report from thread that encountered the race. */ extern void kcsan_report(const volatile void *ptr, size_t size, int access_type, - enum kcsan_value_change value_change, int cpu_id, + enum kcsan_value_change value_change, enum kcsan_report_type type); #endif /* _KERNEL_KCSAN_KCSAN_H */ |