Commit 5eb10d91 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

random: convert use of typedef ctl_table to struct ctl_table

This typedef is unnecessary and should just be removed.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 90a3b89e
...@@ -1582,10 +1582,10 @@ static int proc_do_uuid(struct ctl_table *table, int write, ...@@ -1582,10 +1582,10 @@ static int proc_do_uuid(struct ctl_table *table, int write,
/* /*
* Return entropy available scaled to integral bits * Return entropy available scaled to integral bits
*/ */
static int proc_do_entropy(ctl_table *table, int write, static int proc_do_entropy(struct ctl_table *table, int write,
void __user *buffer, size_t *lenp, loff_t *ppos) void __user *buffer, size_t *lenp, loff_t *ppos)
{ {
ctl_table fake_table; struct ctl_table fake_table;
int entropy_count; int entropy_count;
entropy_count = *(int *)table->data >> ENTROPY_SHIFT; entropy_count = *(int *)table->data >> ENTROPY_SHIFT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment