diff options
| author | Jason A. Donenfeld <[email protected]> | 2022-02-12 23:57:38 +0100 |
|---|---|---|
| committer | Jason A. Donenfeld <[email protected]> | 2022-02-21 21:14:21 +0100 |
| commit | 1daf2f387652bf3a7044aea042f5023b3f6b189b (patch) | |
| tree | 35d8540ac2074ccf368df90e0acc1db200e594b9 /tools/perf/scripts/python | |
| parent | da792c6d5f59a76c10a310c5d4c93428fd18f996 (diff) | |
random: check for crng_init == 0 in add_device_randomness()
This has no real functional change, as crng_pre_init_inject() (and
before that, crng_slow_init()) always checks for == 0, not >= 2. So
correct the outer unlocked change to reflect that. Before this used
crng_ready(), which was not correct.
Cc: Theodore Ts'o <[email protected]>
Reviewed-by: Dominik Brodowski <[email protected]>
Reviewed-by: Eric Biggers <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions