diff options
Diffstat (limited to 'net/decnet/sysctl_net_decnet.c')
-rw-r--r-- | net/decnet/sysctl_net_decnet.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/decnet/sysctl_net_decnet.c b/net/decnet/sysctl_net_decnet.c index e246f054f368..a4065eb1341e 100644 --- a/net/decnet/sysctl_net_decnet.c +++ b/net/decnet/sysctl_net_decnet.c | |||
@@ -134,8 +134,7 @@ static int parse_addr(__le16 *addr, char *str) | |||
134 | 134 | ||
135 | static int dn_node_address_strategy(ctl_table *table, int __user *name, int nlen, | 135 | static int dn_node_address_strategy(ctl_table *table, int __user *name, int nlen, |
136 | void __user *oldval, size_t __user *oldlenp, | 136 | void __user *oldval, size_t __user *oldlenp, |
137 | void __user *newval, size_t newlen, | 137 | void __user *newval, size_t newlen) |
138 | void **context) | ||
139 | { | 138 | { |
140 | size_t len; | 139 | size_t len; |
141 | __le16 addr; | 140 | __le16 addr; |
@@ -220,8 +219,7 @@ static int dn_node_address_handler(ctl_table *table, int write, | |||
220 | 219 | ||
221 | static int dn_def_dev_strategy(ctl_table *table, int __user *name, int nlen, | 220 | static int dn_def_dev_strategy(ctl_table *table, int __user *name, int nlen, |
222 | void __user *oldval, size_t __user *oldlenp, | 221 | void __user *oldval, size_t __user *oldlenp, |
223 | void __user *newval, size_t newlen, | 222 | void __user *newval, size_t newlen) |
224 | void **context) | ||
225 | { | 223 | { |
226 | size_t len; | 224 | size_t len; |
227 | struct net_device *dev; | 225 | struct net_device *dev; |