On Fri, Jul 24, 2015 at 01:13:30PM +0200, Martin Schwidefsky wrote:
> The kthread_run() function can return two different error values
> but the hwrng core only checks for -ENOMEM. If the other error
> value -EINTR is returned it is assigned to hwrng_fill and later
> used on a kthread_stop() call w
The kthread_run() function can return two different error values
but the hwrng core only checks for -ENOMEM. If the other error
value -EINTR is returned it is assigned to hwrng_fill and later
used on a kthread_stop() call which naturally crashes.
Signed-off-by: Martin Schwidefsky
---
drivers/cha