As far as I can understand, using proc_dointvec_minmax() instead of
proc_dointvec only makes sense if you supply the min and/or max values in the
extra1 and extra2 fields of the struct.

Signed-off-by: Viktor Rosendahl <[EMAIL PROTECTED]>
---
 security/lowmem.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/security/lowmem.c b/security/lowmem.c
index 113be75..a965676 100644
--- a/security/lowmem.c
+++ b/security/lowmem.c
@@ -69,7 +69,7 @@ static ctl_table lowmem_table[] = {
                .maxlen = sizeof(unsigned int),
                .mode = 0644,
                .child = NULL,
-               .proc_handler = &proc_dointvec_minmax,
+               .proc_handler = &proc_dointvec,
                .strategy = &sysctl_intvec,
        }, {
                .ctl_name = VM_LOWMEM_ALLOWED_UIDS,
@@ -89,7 +89,7 @@ static ctl_table lowmem_table[] = {
                .maxlen = sizeof(unsigned long),
                .mode = 0444,
                .child = NULL,
-               .proc_handler = &proc_dointvec_minmax,
+               .proc_handler = &proc_dointvec,
                .strategy = &sysctl_intvec,
        }, {
                .ctl_name = VM_LOWMEM_USED_PAGES,
@@ -98,7 +98,7 @@ static ctl_table lowmem_table[] = {
                .maxlen = sizeof(long),
                .mode = 0444,
                .child = NULL,
-               .proc_handler = &proc_dointvec_minmax,
+               .proc_handler = &proc_dointvec,
                .strategy = &sysctl_intvec,
        }, {
                .ctl_name = 0
-- 
1.5.6.3

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to