| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * File: sysctl.c |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * Copyright (C) 2008 Nokia Corporation. |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * 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 |
|---|
| 23 | 10 | */ |
|---|
| 24 | 11 | |
|---|
| 25 | 12 | #include <linux/seqlock.h> |
|---|
| .. | .. |
|---|
| 62 | 49 | } |
|---|
| 63 | 50 | |
|---|
| 64 | 51 | 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) |
|---|
| 67 | 53 | { |
|---|
| 68 | 54 | int ret; |
|---|
| 69 | 55 | int range[2] = {local_port_range[0], local_port_range[1]}; |
|---|