hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/phonet/sysctl.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * File: sysctl.c
34 *
....@@ -6,20 +7,6 @@
67 * Copyright (C) 2008 Nokia Corporation.
78 *
89 * Author: Rémi Denis-Courmont
9
- *
10
- * This program is free software; you can redistribute it and/or
11
- * modify it under the terms of the GNU General Public License
12
- * version 2 as published by the Free Software Foundation.
13
- *
14
- * This program is distributed in the hope that it will be useful, but
15
- * WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
- * General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU General Public License
20
- * along with this program; if not, write to the Free Software
21
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22
- * 02110-1301 USA
2310 */
2411
2512 #include <linux/seqlock.h>
....@@ -62,8 +49,7 @@
6249 }
6350
6451 static int proc_local_port_range(struct ctl_table *table, int write,
65
- void __user *buffer,
66
- size_t *lenp, loff_t *ppos)
52
+ void *buffer, size_t *lenp, loff_t *ppos)
6753 {
6854 int ret;
6955 int range[2] = {local_port_range[0], local_port_range[1]};