summaryrefslogtreecommitdiff
path: root/kernel/kcsan/kcsan.h
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2020-03-18 18:38:44 +0100
committerPaul E. McKenney <paulmck@kernel.org>2020-04-13 17:18:10 -0700
commit135c0872d86948046d11d7083e36c930cc43ac93 (patch)
treeef11bf75b658ae7c892114326a951c8a7b3bfbe7 /kernel/kcsan/kcsan.h
parent1443b8c9e712ef8914a2cab9ae7ce133229ed96c (diff)
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.h2
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 */