Good tips, thanks. I'll wait for more comments before resubmitting v2,
but in-progress changes live here:
https://git.zx2c4.com/linux-dev/log/?h=jd/cleaner-add-random-ready
On Thu, Oct 19, 2017 at 1:45 PM, Jason A. Donenfeld wrote:
> As this interface becomes more heavily used, it will be painful for
> callers to always need to check for -EALREADY.
>
> Signed-off-by: Jason A. Donenfeld
> ---
> drivers/char/random.c | 24
> 1 file changed, 1
These are mostly untested, but I wanted to spec it out for a taste of
what it looks like.
As this interface becomes more heavily used, it will be painful for
callers to always need to check for -EALREADY.
Signed-off-by: Jason A. Donenfeld
---
drivers/char/random.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/drivers/char/random.c b/dri