diff options
author | Joe Perches <joe@perches.com> | 2020-10-04 02:18:08 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-11-20 04:37:17 +0100 |
commit | 7c47ee5aa00817d8b10f415b4a92d5fb3ac35273 (patch) | |
tree | 665675cbbbcf0f14dcff596e43dd4f2491dc41cc /kernel/rcu | |
parent | rcu/tree: Add a warning if CPU being onlined did not report QS already (diff) | |
download | linux-7c47ee5aa00817d8b10f415b4a92d5fb3ac35273.tar.xz linux-7c47ee5aa00817d8b10f415b4a92d5fb3ac35273.zip |
rcu/tree: Make struct kernel_param_ops definitions const
These should be const, so make it so.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu')
-rw-r--r-- | kernel/rcu/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index e4d6d0b1b853..5f458e4efc95 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -546,12 +546,12 @@ static int param_set_next_fqs_jiffies(const char *val, const struct kernel_param return ret; } -static struct kernel_param_ops first_fqs_jiffies_ops = { +static const struct kernel_param_ops first_fqs_jiffies_ops = { .set = param_set_first_fqs_jiffies, .get = param_get_ulong, }; -static struct kernel_param_ops next_fqs_jiffies_ops = { +static const struct kernel_param_ops next_fqs_jiffies_ops = { .set = param_set_next_fqs_jiffies, .get = param_get_ulong, }; |