aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/random.c')
-rw-r--r--drivers/char/random.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 35487e8ded59..0d91fe52f3f5 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -1381,10 +1381,10 @@ static char sysctl_bootid[16];
1381 * as an ASCII string in the standard UUID format. If accesses via the 1381 * as an ASCII string in the standard UUID format. If accesses via the
1382 * sysctl system call, it is returned as 16 bytes of binary data. 1382 * sysctl system call, it is returned as 16 bytes of binary data.
1383 */ 1383 */
1384static int proc_do_uuid(ctl_table *table, int write, 1384static int proc_do_uuid(struct ctl_table *table, int write,
1385 void __user *buffer, size_t *lenp, loff_t *ppos) 1385 void __user *buffer, size_t *lenp, loff_t *ppos)
1386{ 1386{
1387 ctl_table fake_table; 1387 struct ctl_table fake_table;
1388 unsigned char buf[64], tmp_uuid[16], *uuid; 1388 unsigned char buf[64], tmp_uuid[16], *uuid;
1389 1389
1390 uuid = table->data; 1390 uuid = table->data;
@@ -1409,8 +1409,8 @@ static int proc_do_uuid(ctl_table *table, int write,
1409} 1409}
1410 1410
1411static int sysctl_poolsize = INPUT_POOL_WORDS * 32; 1411static int sysctl_poolsize = INPUT_POOL_WORDS * 32;
1412extern ctl_table random_table[]; 1412extern struct ctl_table random_table[];
1413ctl_table random_table[] = { 1413struct ctl_table random_table[] = {
1414 { 1414 {
1415 .procname = "poolsize", 1415 .procname = "poolsize",
1416 .data = &sysctl_poolsize, 1416 .data = &sysctl_poolsize,