projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sysctl: pass kernel pointers to ->proc_handler
[linux-2.6-block.git]
/
net
/
phonet
/
sysctl.c
diff --git
a/net/phonet/sysctl.c
b/net/phonet/sysctl.c
index 251e750fd9aa099aed50ef062c6d25b818e1f094..0d0bf41381c22abd3ab1947b20987cba56ab848a 100644
(file)
--- 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]};