Re: [PATCH 0/6] Improvements for random.h/archrandom.h

2019-10-29 Thread Ard Biesheuvel
On Mon, 28 Oct 2019 at 22:06, Richard Henderson wrote: > > During patch review for an addition of archrandom.h for arm64, > it was suggeted that the arch_random_get_* functions should be > marked __must_check. Which does sound like a good idea, since > the by-reference integer output may be

[PATCH 0/6] Improvements for random.h/archrandom.h

2019-10-28 Thread Richard Henderson
During patch review for an addition of archrandom.h for arm64, it was suggeted that the arch_random_get_* functions should be marked __must_check. Which does sound like a good idea, since the by-reference integer output may be uninitialized when the boolean result is false. In addition, I