summaryrefslogtreecommitdiff
path: root/net/phonet/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/phonet/sysctl.c')
-rw-r--r--net/phonet/sysctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/phonet/sysctl.c b/net/phonet/sysctl.c
index 251e750fd9aa..0d0bf41381c2 100644
--- a/net/phonet/sysctl.c
+++ b/net/phonet/sysctl.c
@@ -49,8 +49,7 @@ void phonet_get_local_port_range(int *min, int *max)
}
static int proc_local_port_range(struct ctl_table *table, int write,
- void __user *buffer,
- size_t *lenp, loff_t *ppos)
+ void *buffer, size_t *lenp, loff_t *ppos)
{
int ret;
int range[2] = {local_port_range[0], local_port_range[1]};