hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/kernel/utsname_sysctl.c
....@@ -1,12 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2007
34 *
45 * Author: Eric Biederman <ebiederm@xmision.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/export.h>
....@@ -34,7 +30,7 @@
3430 * to observe. Should this be in kernel/sys.c ????
3531 */
3632 static int proc_do_uts_string(struct ctl_table *table, int write,
37
- void __user *buffer, size_t *lenp, loff_t *ppos)
33
+ void *buffer, size_t *lenp, loff_t *ppos)
3834 {
3935 struct ctl_table uts_table;
4036 int r;