diff options
| author | Ingo Molnar <mingo@kernel.org> | 2021-04-11 14:35:02 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2021-04-11 14:35:02 +0200 |
| commit | eedd6341340c19a70cea7a89e0070a47b70c4e8d (patch) | |
| tree | aedad0719883abc058ea2e86557900a8003c564a /kernel/kcsan/debugfs.c | |
| parent | 9432bbd969c667fc9c4b1c140c5a745ff2a7b540 (diff) | |
| parent | bd0ccc4afca2d6ae0029cae35c4f1d2e2ade7579 (diff) | |
Merge branch 'for-mingo-kcsan' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into locking/core
Pull KCSAN changes from Paul E. McKenney: misc updates.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/kcsan/debugfs.c')
| -rw-r--r-- | kernel/kcsan/debugfs.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/kernel/kcsan/debugfs.c b/kernel/kcsan/debugfs.c index 3c8093a371b1..c1dd02f3be8b 100644 --- a/kernel/kcsan/debugfs.c +++ b/kernel/kcsan/debugfs.c @@ -1,4 +1,9 @@ // SPDX-License-Identifier: GPL-2.0 +/* + * KCSAN debugfs interface. + * + * Copyright (C) 2019, Google LLC. + */ #define pr_fmt(fmt) "kcsan: " fmt @@ -261,7 +266,9 @@ static const struct file_operations debugfs_ops = .release = single_release }; -void __init kcsan_debugfs_init(void) +static void __init kcsan_debugfs_init(void) { debugfs_create_file("kcsan", 0644, NULL, NULL, &debugfs_ops); } + +late_initcall(kcsan_debugfs_init); |
