Commit 99b0278f authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: locking commentary in the random driver

Comment the lack of locking.
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c59bce62
...@@ -78,6 +78,7 @@ static const struct file_operations rng_chrdev_ops = { ...@@ -78,6 +78,7 @@ static const struct file_operations rng_chrdev_ops = {
.read = rng_dev_read, .read = rng_dev_read,
}; };
/* rng_init shouldn't be called more than once at boot time */
static struct miscdevice rng_miscdev = { static struct miscdevice rng_miscdev = {
RNG_MISCDEV_MINOR, RNG_MISCDEV_MINOR,
RNG_MODULE_NAME, RNG_MODULE_NAME,
......
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