On Thu, 29 Aug 2019 20:48:33 +0200 (CEST), Richard Weinberger
wrote:
> - 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
the hw_random framework.
- The code is simpler and therefore easier to maintain.
- It serves as a minimal example of writing a hardware RNG driver.
I also edited the Kconfig symbol to bring it up to more modern
standards.
Signed-off-by: Alexander Neville
---
v2:
* fix -EAGAIN handling
---
arch/um
registers itself as an hardware RNG.
- The code is simpler and therefore easier to maintain.
- It serves as a minimal example of writing a hardware RNG driver.
I also edited the Kconfig symbol to bring it up to more modern
standards.
Signed-off-by: Alexander Neville
---
arch/um/drivers/Makefile
3 matches
Mail list logo