[lkml]   [2019]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] um: Rewrite host RNG driver.
----- Ursprüngliche Mail -----
> Von: "Dark" <>
> + // 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.


 \ /
  Last update: 2019-08-29 20:48    [W:0.056 / U:25.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site