Thread (26 messages) 26 messages, 3 authors, 2015-06-05

Re: [PATCH v6 1/5] random: Blocking API for accessing nonblocking_pool

From: Stephan Mueller <hidden>
Date: 2015-05-20 06:13:26
Also in: lkml

Am Mittwoch, 20. Mai 2015, 06:55:33 schrieb Herbert Xu:

Hi Herbert,
You still need to handle the case where wait_event_interruptible
returns an error.  Otherwise this looks fine.
Thank you. I would suggest to add a while loop around the call that sets up 
the wait if it terminated with ERESTARTSYS. This way we can maintain a void 
function that is almost identical to the get_random_bytes function.


Ciao
Stephan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help