diff options
author | Eliezer Tamir <eliezer.tamir@linux.intel.com> | 2013-06-14 09:33:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-17 18:48:13 -0400 |
commit | eb6db622825b2028df74f490b8c36887cf3c2f50 (patch) | |
tree | 495d07236545de66e4bff75a0e8e630bcfeea1ed /net/core | |
parent | 2e0c9e7911465b29daf85f7de97949004bf7b31c (diff) |
net: change sysctl_net_ll_poll into an unsigned int
There is no reason for sysctl_net_ll_poll to be an unsigned long.
Change it into an unsigned int.
Fix the proc handler.
Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/sysctl_net_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index 78c746e016ae..62702c2053de 100644 --- a/net/core/sysctl_net_core.c +++ b/net/core/sysctl_net_core.c | |||
@@ -302,9 +302,9 @@ static struct ctl_table net_core_table[] = { | |||
302 | { | 302 | { |
303 | .procname = "low_latency_poll", | 303 | .procname = "low_latency_poll", |
304 | .data = &sysctl_net_ll_poll, | 304 | .data = &sysctl_net_ll_poll, |
305 | .maxlen = sizeof(unsigned long), | 305 | .maxlen = sizeof(unsigned int), |
306 | .mode = 0644, | 306 | .mode = 0644, |
307 | .proc_handler = proc_doulongvec_minmax | 307 | .proc_handler = proc_dointvec |
308 | }, | 308 | }, |
309 | #endif | 309 | #endif |
310 | #endif /* CONFIG_NET */ | 310 | #endif /* CONFIG_NET */ |