sysctl: pass kernel pointers to ->proc_handler
[linux-block.git] / drivers / char / random.c
index 0d10e31fd342f52416a41953dcad209e77bdd8e6..1e0db78b83baae01cdb3b23e981a5a8e1a850b4c 100644 (file)
@@ -2057,7 +2057,7 @@ static char sysctl_bootid[16];
  * sysctl system call, as 16 bytes of binary data.
  */
 static int proc_do_uuid(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 fake_table;
        unsigned char buf[64], tmp_uuid[16], *uuid;