UML - Locking commentary in the random driver
PATCH 3/9 UML - Locking commentary in the random driver
Comment the lack of locking.
Signed-off-by Jeff Dike <[email protected]>
--
arch/um/drivers/random.c | 1 + 1 file changed, 1 insertion(+)
arch/um/drivers/random.c +1 -0
@@ -78,6 +78,7 @@ static const struct file_operations rng_ .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 ,
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel