projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c59bce6
)
[PATCH] uml: locking commentary in the random driver
author
Jeff Dike
<jdike@addtoit.com>
Sat, 10 Feb 2007 09:44:05 +0000
(
01:44
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:22 +0000
(10:51 -0800)
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>
arch/um/drivers/random.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/um/drivers/random.c
b/arch/um/drivers/random.c
index 73b2bdd6d2d3b867165e116b7a1b430f34096c9b..e942e836f9954335651fc3c2b6587c2bd7d7e888 100644
(file)
--- a/
arch/um/drivers/random.c
+++ b/
arch/um/drivers/random.c
@@
-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,