Re: [PATCH v2] um: Rewrite host RNG driver.

From: Richard Weinberger
Date: Thu Aug 29 2019 - 14:48:37 EST

----- UrsprÃngliche Mail -----
> Von: "Dark" <dark@xxxxxxxxxxx>
> + // Returning -EAGAIN to userspace is not nice.
> + if (err == -EAGAIN)
> + return 0;

Hmm, doesn't this result in a short read?
The current drives sets the calling task to sleep and wakes
it up as soon data is available again. I'd assumes ti have the
same behavior for the new driver.