summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-02-13 01:57:38 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2022-02-21 23:14:21 +0300
commit1daf2f387652bf3a7044aea042f5023b3f6b189b (patch)
tree35d8540ac2074ccf368df90e0acc1db200e594b9 /tools/perf/scripts/python/export-to-sqlite.py
parentda792c6d5f59a76c10a310c5d4c93428fd18f996 (diff)
downloadlinux-1daf2f387652bf3a7044aea042f5023b3f6b189b.tar.xz
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 <tytso@mit.edu> Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net> Reviewed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions