sysctl: pass kernel pointers to ->proc_handler
[linux-block.git] / kernel / umh.c
index 7f255b5a8845aef24b048dfabaf07462b04c9fca..9788ed481a6abfa5298390ec5f2a91af5be31d6a 100644 (file)
@@ -630,7 +630,7 @@ int call_usermodehelper(const char *path, char **argv, char **envp, int wait)
 EXPORT_SYMBOL(call_usermodehelper);
 
 static int proc_cap_handler(struct ctl_table *table, int write,
-                        void __user *buffer, size_t *lenp, loff_t *ppos)
+                        void *buffer, size_t *lenp, loff_t *ppos)
 {
        struct ctl_table t;
        unsigned long cap_array[_KERNEL_CAPABILITY_U32S];