hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/ipc/mq_sysctl.c
....@@ -1,12 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2007 IBM Corporation
34 *
45 * Author: Cedric Le Goater <clg@fr.ibm.com>
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License as
8
- * published by the Free Software Foundation, version 2 of the
9
- * License.
106 */
117
128 #include <linux/nsproxy.h>
....@@ -23,7 +19,7 @@
2319 }
2420
2521 static int proc_mq_dointvec(struct ctl_table *table, int write,
26
- void __user *buffer, size_t *lenp, loff_t *ppos)
22
+ void *buffer, size_t *lenp, loff_t *ppos)
2723 {
2824 struct ctl_table mq_table;
2925 memcpy(&mq_table, table, sizeof(mq_table));
....@@ -33,7 +29,7 @@
3329 }
3430
3531 static int proc_mq_dointvec_minmax(struct ctl_table *table, int write,
36
- void __user *buffer, size_t *lenp, loff_t *ppos)
32
+ void *buffer, size_t *lenp, loff_t *ppos)
3733 {
3834 struct ctl_table mq_table;
3935 memcpy(&mq_table, table, sizeof(mq_table));