[patch 2/6] New Generic HW RNG

2006-05-07 Thread Michael Buesch
Add a new generic H/W RNG core. Signed-off-by: Michael Buesch [EMAIL PROTECTED] Index: hwrng/drivers/char/Kconfig === --- hwrng.orig/drivers/char/Kconfig 2006-05-07 01:35:45.0 +0200 +++ hwrng/drivers/char/Kconfig

Re: [patch 2/6] New Generic HW RNG

2006-05-07 Thread Michael Buesch
On Sunday 07 May 2006 15:03, you wrote: This does not handle the case of partial read correctly - the code should be return ret ? : -ERESTARTSYS; + if (!current_rng) { + mutex_unlock(rng_mutex); + return -ENODEV;