[PATCH] uml: locking commentary in the random driver
Comment the lack of locking. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c59bce6262
commit
99b0278f95
|
@ -78,6 +78,7 @@ static const struct file_operations rng_chrdev_ops = {
|
|||
.read = rng_dev_read,
|
||||
};
|
||||
|
||||
/* rng_init shouldn't be called more than once at boot time */
|
||||
static struct miscdevice rng_miscdev = {
|
||||
RNG_MISCDEV_MINOR,
|
||||
RNG_MODULE_NAME,
|
||||
|
|
Loading…
Reference in a new issue